diff --git a/lib/crono/period.rb b/lib/crono/period.rb index 378e071..4832ab2 100644 --- a/lib/crono/period.rb +++ b/lib/crono/period.rb @@ -12,7 +12,7 @@ module Crono def description desc = "every #{@period.inspect}" - desc += " at #{@at_hour}:#{@at_min}" if @at_hour && @at_min + desc += " at %.2i:%.2i" % [@at_hour, @at_min] if @at_hour && @at_min desc end