You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
en:
datepicker:
dformat: '%d/%m/%Y' # display format of the date (this is the default, can be ommited)
pformat: 'DD/MM/YYYY' # picking format of the date (this is the default, can be ommited)
timepicker:
dformat: '%R' # display format of the time (this is the default, can be ommited)
pformat: 'HH:mm a'
I am using Simple Form and cannot figure out how to set the time_picker to use 12 hour format rather than 24 hour format.
I have tried
$('.time_picker').datetimepicker({
pick12HourFormat: true
})
and
$('.time_picker').datetimepicker({
use24hours:false
})
The error I am receiving is 'option pick12HourFormat is not recognized!'
I additionally have tried to pass it as a data attribute with no luck.
The text was updated successfully, but these errors were encountered: