Use on in a period description

This commit is contained in:
Dzmitry Plashchynski
2015-03-15 09:34:27 +02:00
parent a3c4ec87f5
commit a0c612fb27
2 changed files with 3 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ module Crono
def description
desc = "every #{@period.inspect}"
desc += format(' at %.2i:%.2i', @at_hour, @at_min) if @at_hour && @at_min
desc += " on #{DAYS[@on].capitalize}" if @on
desc
end