diff options
Diffstat (limited to 'doc/api/os.md')
-rw-r--r-- | doc/api/os.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/api/os.md b/doc/api/os.md index aa074ce001..d5e70e63f9 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -381,15 +381,17 @@ systems. ## os.uptime() <!-- YAML added: v0.3.3 +changes: + - version: v10.0.0 + pr-url: https://github.com/nodejs/node/pull/20129 + description: The result of this function no longer contains a fraction + component on Windows. --> * Returns: {integer} The `os.uptime()` method returns the system uptime in number of seconds. -On Windows the returned value includes fractions of a second. Use `Math.floor()` -to get whole seconds. - ## os.userInfo([options]) <!-- YAML added: v6.0.0 |