Fix time formating

This commit is contained in:
Dzmitry Plashchynski
2015-03-05 14:52:56 +02:00
parent 9ca68b305f
commit 2109be7bba

View File

@@ -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