utc
This commit is contained in:
parent
36f2bf6440
commit
ddce4942da
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
dir = Path[ENV.fetch("PROCIO_DIR", "/proc")]
|
dir = Path[ENV.fetch("PROCIO_DIR", "/proc")]
|
||||||
result = {} of String => Array(UInt64)
|
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|
|
Dir.children(dir).each do |entry|
|
||||||
next unless (entry =~ /^\d+$/) && File.directory?(dir/entry)
|
next unless (entry =~ /^\d+$/) && File.directory?(dir/entry)
|
||||||
|
|
Loading…
Reference in a new issue