diff options
author | Joel Handwell <joelhandwell@gmail.com> | 2015-09-01 17:32:16 -0400 |
---|---|---|
committer | Joel Handwell <joelhandwell@gmail.com> | 2015-09-02 07:55:27 -0400 |
commit | 51e98c798e455c9e758d9ace22d1391b7aad596c (patch) | |
tree | 8dc8d624c6a8e1a5290e56d684d645e659cdf18b /lib/chef/formatters | |
parent | 850bded619ac14e62bed15b85cc34d6ef3b99202 (diff) | |
download | chef-51e98c798e455c9e758d9ace22d1391b7aad596c.tar.gz |
Remove Timecop dependency
Diffstat (limited to 'lib/chef/formatters')
-rw-r--r-- | lib/chef/formatters/doc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb index 2b0161667b..70108f547b 100644 --- a/lib/chef/formatters/doc.rb +++ b/lib/chef/formatters/doc.rb @@ -33,7 +33,7 @@ class Chef time = elapsed_time if time < 60 then message = Time.at(time).utc.strftime("%S seconds") - elsif time < 3600 then + elsif time < 3600 then message = Time.at(time).utc.strftime("%M minutes %S seconds") else message = Time.at(time).utc.strftime("%H hours %M minutes %S seconds") |