datetimepicker-rails
datetimepicker-rails copied to clipboard
Date Picker not Showing when "X" is specified as Format
I am trying to create a date picker that has the format of "unix timestamp". When I click on the calendar button, the proper date shows up in the corresponding text field, however, the calendar pop-up does not. It shows a small piece of div with no actual calendar.
Here's what I have for code:
<input data-date-options="{"locale":"en","format":"X","dayViewHeaderFormat":"MMMM YYYY"}" class="string datetime_picker required form-control" type="text" name="message[toiType]" id="message_toiType">