Skip to content

Commit 2c49dd3

Browse files
SimenBcodebytere
authored andcommitted
doc: specify unit of time passed to fs.utimes
PR-URL: #33230 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 4465d23 commit 2c49dd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/fs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3788,8 +3788,8 @@ Change the file system timestamps of the object referenced by `path`.
37883788

37893789
The `atime` and `mtime` arguments follow these rules:
37903790

3791-
* Values can be either numbers representing Unix epoch time, `Date`s, or a
3792-
numeric string like `'123456789.0'`.
3791+
* Values can be either numbers representing Unix epoch time in seconds,
3792+
`Date`s, or a numeric string like `'123456789.0'`.
37933793
* If the value can not be converted to a number, or is `NaN`, `Infinity` or
37943794
`-Infinity`, an `Error` will be thrown.
37953795

0 commit comments

Comments
 (0)