sys-info-rs icon indicating copy to clipboard operation
sys-info-rs copied to clipboard

boottime() behavior is different in different platforms

Open lwhsu opened this issue 4 years ago • 0 comments

From the name, boottime() seems to return the timestamp of the system was booted. On Linux and Windows, it returns the uptime, the duration since system was booted. However, on MacOS, it returns the actual boot time.

lwhsu avatar May 08 '20 10:05 lwhsu