lib/doing/chronify/numeric.rb in doing-2.1.40 vs lib/doing/chronify/numeric.rb in doing-2.1.41

- old
+ new

@@ -2,14 +2,15 @@ module Doing ## ## Number helpers ## - class ::Numeric + module ChronifyNumeric ## ## Format human readable time from seconds ## - ## @param seconds [Integer] Seconds + ## @param human [Boolean] if True, don't convert + ## hours into days ## def format_time(human: false) return [0, 0, 0] if nil? seconds = dup.to_i