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)