mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-23 09:18:44 +02:00
Fix time formating
This commit is contained in:
@@ -12,7 +12,7 @@ module Crono
|
|||||||
|
|
||||||
def description
|
def description
|
||||||
desc = "every #{@period.inspect}"
|
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
|
desc
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user