From 22d449a14a29374abb6fd547b7d11ecdd0985288 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Wed, 25 Apr 2018 18:56:44 -0400 Subject: [PATCH] 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 --- doc/api/os.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/api/os.md b/doc/api/os.md index aa074ce00179bf..d5e70e63f9bb05 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])