Files
sx-fc/app/inputs/time_picker_input.rb
2017-08-29 13:20:32 +06:30

16 lines
258 B
Ruby

class TimePickerInput < DatePickerInput
private
def display_pattern
I18n.t('timepicker.dformat', default: '%R')
end
def picker_pattern
I18n.t('timepicker.pformat', default: 'HH:mm')
end
def date_options
date_options_base
end
end