Skip to content

Commit 4a58420

Browse files
SimenBcodebytere
authored andcommittedJun 7, 2020
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 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)
Please sign in to comment.