doc: remove os.uptime() Windows note

The libuv 1.20.2 update in Node 10 aligned the Windows behavior
of os.uptime() with that of other operating systems. The return
value no longer contains a fraction component.

Refs: https://github.com/nodejs/node/pull/20129

PR-URL: https://github.com/nodejs/node/pull/20308
Refs: https://github.com/nodejs/node/pull/20129
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
cjihrig 2018-04-25 18:56:44 -04:00 committed by Ruben Bridgewater
parent bda2eaf3d5
commit 124875cab2
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -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