DataetimepickerInJuty

This commit is contained in:
yamin
2017-08-29 13:20:32 +06:30
parent 63d97cce26
commit e84c080552
15 changed files with 2973 additions and 17 deletions

View File

@@ -0,0 +1,13 @@
class DatetimePickerInput < DatePickerInput
private
def display_pattern
I18n.t('datepicker.dformat', default: '%d/%m/%Y') + ' ' +
I18n.t('timepicker.dformat', default: '%R')
end
def picker_pattern
I18n.t('datepicker.pformat', default: 'DD/MM/YYYY') + ' ' +
I18n.t('timepicker.pformat', default: 'HH:mm')
end
end