datetimepicker-rails icon indicating copy to clipboard operation
datetimepicker-rails copied to clipboard

Date Picker not Showing when "X" is specified as Format

Open ismail44 opened this issue 8 years ago • 0 comments

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">

ismail44 avatar Sep 15 '16 20:09 ismail44