From ddce4942dacddaae7c73828a688010d365d22f7b Mon Sep 17 00:00:00 2001 From: mwiegand Date: Thu, 11 Aug 2022 11:43:58 +0200 Subject: [PATCH] utc --- procio.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procio.cr b/procio.cr index 147fa82..03688ae 100644 --- a/procio.cr +++ b/procio.cr @@ -1,6 +1,6 @@ dir = Path[ENV.fetch("PROCIO_DIR", "/proc")] result = {} of String => Array(UInt64) -time = Time.local.to_s("%s%9N") +time = Time.utc.to_s("%s%9N") Dir.children(dir).each do |entry| next unless (entry =~ /^\d+$/) && File.directory?(dir/entry)