jonthornton/Datepair.js

moment.js level

Opened this issue · 0 comments

Replacing the moment.js level used in the examples page (index.html) results in the Alternative UI Widgets Example failing when the first date is selected. The end time is filled with Invalid date.

I installed moment.js via npm and just changed the single line ...
<script src="lib/moment.min.js"></script>
... to include the new level.