Skip to content

Commit 4a58420

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 33aacbe commit 4a58420

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
@@ -3789,8 +3789,8 @@ Change the file system timestamps of the object referenced by `path`.
37893789

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

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

0 commit comments

Comments
 (0)