From 124875cab2ab129b0e1689c7727d5eaeab4618c2 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Wed, 25 Apr 2018 18:56:44 -0400 Subject: 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 Reviewed-By: Richard Lau Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat --- doc/api/os.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/api/os.md') 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() * 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])