ezgantt icon indicating copy to clipboard operation
ezgantt copied to clipboard

misinterpretation and crash when using normal date format

Open asenchristov opened this issue 5 years ago • 2 comments

When using the normal date format (i.e. dd/mm/yyyy), it assumes the strange US format where the month is the first number.

asenchristov avatar May 13 '19 12:05 asenchristov

True, it isn't a pretty way to parse dates that respects local timezones: https://github.com/google/ezgantt/blob/master/website/js/ezgantt.js#L146

Open to suggestions!

salamanders avatar Jun 12 '19 22:06 salamanders

I was strongly considering moving to moment.js and turning on strict mode parsing.

salamanders avatar May 29 '20 16:05 salamanders