TrevorS / bootstrap3-datetimepicker-rails

This gem packages the bootstrap-datetimepicker for the Rails 3.1+ asset pipeline.
MIT License
292 stars 123 forks source link

Picker showing seconds-selector when there is an escaped 's' in specified moment format #47

Closed niborg closed 7 years ago

niborg commented 7 years ago

Fiddle.

Essentially just trying to display custom text after the date and time per moment's escaping format through the data-date-format attribute. In the fiddle above, the first input shows the seconds selector because there is a lower-case 's' in 'Eastern' -- the second omits the 's' with 'Eatern', and no seconds selector is shown.

niborg commented 7 years ago

Wrong repo, sorry!