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 <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Masashi Hirano <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
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

+2-2
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)