We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15447bf commit 9ee2ddcCopy full SHA for 9ee2ddc
lib/mongo_masker.rb
@@ -45,7 +45,7 @@ def track_time
45
end
46
47
def format_time_diff(start_at, finish_at)
48
- output = Time.at(finish_at - start_at).strftime '%H hours %M minutes %S seconds'
+ output = Time.at(finish_at - start_at).utc.strftime '%H hours %M minutes %S seconds'
49
output.gsub(/^0+ hours /, '').gsub(/^0+ minutes /, '')
50
51
0 commit comments