Date formats don't work in UK
Issue #2
new
Selecting a date from the editor (for example Wednesday 28th October) produces a date of yyyy-10-We. I believe this is a simple Date.ToString format problem, possibly caused by our site having UK dates?
Comments (2)
-
-
This is due to the format being hardcoded into the js. See this file:
Suggest changing from "yyyy-MM-dd" to "L" as per the moment.js docs, which would provide multiple locale support. It would be better if this package allowed for you to set your own format of course ;)
Umbraco datepicker uses this to format dates: http://momentjs.com/
- Log in to comment
Same here in the Netherlands; not sure though that it has something to do with the country we live in :-) I also get a date in the "yyyy-11-We" format.