fixes
This commit is contained in:
parent
70d0091fbf
commit
2efd1bc92d
4 changed files with 13 additions and 10 deletions
|
|
@ -12,13 +12,6 @@ class EventType < ActiveRecord::Base
|
|||
|
||||
LENGTH_STEP = 15
|
||||
|
||||
##
|
||||
# Return the length in timestamp format (HH:MM)
|
||||
#
|
||||
def length_timestamp
|
||||
[length / 60, length % 60].map { |t| t.to_s.rjust(2, '0') }.join(':')
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue