Skip to content

Conversation

@asavin
Copy link

@asavin asavin commented Jan 26, 2014

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.

@asavin
Copy link
Author

asavin commented Jan 26, 2014

@charypar omg :D

@charypar
Copy link

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.

@charypar charypar deleted the date-format branch January 26, 2014 22:14
@charypar charypar restored the date-format branch January 26, 2014 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants