From 4a584200f849d1527869a493f80dce1614b62657 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 4 May 2020 13:33:21 +0200 Subject: [PATCH] doc: specify unit of time passed to `fs.utimes` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/33230 Reviewed-By: Ben Noordhuis Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Anto Aravinth Reviewed-By: Masashi Hirano Reviewed-By: Trivikram Kamat Reviewed-By: Juan José Arboleda Reviewed-By: Anna Henningsen --- doc/api/fs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 53e650ac074891..255ee9c88cb059 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -3789,8 +3789,8 @@ Change the file system timestamps of the object referenced by `path`. The `atime` and `mtime` arguments follow these rules: -* Values can be either numbers representing Unix epoch time, `Date`s, or a - numeric string like `'123456789.0'`. +* Values can be either numbers representing Unix epoch time in seconds, + `Date`s, or a numeric string like `'123456789.0'`. * If the value can not be converted to a number, or is `NaN`, `Infinity` or `-Infinity`, an `Error` will be thrown.