datepicker
datepicker copied to clipboard
Customizable Date format and other things
You can specify the format of the date you expect it to produce. Format is a string, which can be something like this:
- "DD/MM/YYYY"
- "YYYY-MM-DD"
- "mm.dd.yy"
Order of month, day and year will be recognized by the component, divider symbol will also be honoured. You can ask for 2 digit year or 4 with "YY" or "YYYY" respectably.
@charypar omg :D
Oh, so since we opened this against upstream (oops), it might be worth describing what's going on. Sorry for the confusion, it was an honest mistake, but maybe you'll like our changes. This is what was added:
- Value is now being set and retrieved as
Date - CSS was improved to display background correctly
- It's possible to click outside the datepicker to close it
- Keyboard controls were added, specifically escape to close, enter to set value by hand
- Datepicker emits events when date changes
- Support for date format was added
Hope I got all of them.