jonthornton / Datepair.js

A javascript plugin for intelligently selecting date and time ranges, inspired by Google Calendar.
https://www.jonthornton.com/Datepair.js
358 stars 87 forks source link

moment.js level #115

Open osgmlc opened 5 years ago

osgmlc commented 5 years ago

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

... to include the new level.