Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b5c24df

Browse filesBrowse files
exoegotargos
authored andcommitted
doc: fix type of atime/mtime
PR-URL: #29666 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent acd08fd commit b5c24df
Copy full SHA for b5c24df

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2086,8 +2086,8 @@ changes:
20862086
-->
20872087

20882088
* `fd` {integer}
2089-
* `atime` {integer}
2090-
* `mtime` {integer}
2089+
* `atime` {number|string|Date}
2090+
* `mtime` {number|string|Date}
20912091

20922092
Synchronous version of [`fs.futimes()`][]. Returns `undefined`.
20932093

@@ -3462,8 +3462,8 @@ changes:
34623462
-->
34633463

34643464
* `path` {string|Buffer|URL}
3465-
* `atime` {integer}
3466-
* `mtime` {integer}
3465+
* `atime` {number|string|Date}
3466+
* `mtime` {number|string|Date}
34673467

34683468
Returns `undefined`.
34693469

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.