From a09c2d79ff413c4405a194e99e2dd5b431f3c96d Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 4 May 2020 13:33:21 +0200 Subject: [PATCH] chore: specify unit of time passed to `fs.utimes` --- 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 ec8e49d5b12adc..9bab31b4819513 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -3788,8 +3788,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.