Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Datepicker popup: Support Multiple Input Formats #4951

Closed
davious opened this issue Nov 25, 2015 · 2 comments
Closed

Datepicker popup: Support Multiple Input Formats #4951

davious opened this issue Nov 25, 2015 · 2 comments

Comments

@davious
Copy link
Contributor

davious commented Nov 25, 2015

I'm using a fancy MMMM dd yyyy format on my datepicker popup. I like the fancy, but I'd also like my users to be able to type in a date using the M!/d!/yyyy format which, to them, is the go-to date format. Would angular bootstrap add a way to make this a reality? Maybe a list of acceptable date format inputs?

@davious davious changed the title Datepicker: Support Multiple Input Formats Datepicker popup: Support Multiple Input Formats Nov 25, 2015
davious added a commit to davious/angular-ui-bootstrap that referenced this issue Nov 25, 2015
davious added a commit to davious/angular-ui-bootstrap that referenced this issue Nov 25, 2015
@wesleycho
Copy link
Contributor

I'm amenable to this feature for UX reasons, although it seems like it could also add to user confusion.

@icfantv
Copy link
Contributor

icfantv commented Nov 25, 2015

We could accept an array of input formats and then test that the date matches one of the formats? This has not been a oft-requested feature, however, so it's not a huge priority. @davious, if you want to take a stab at a PR, we'd welcome a well-thought/well-designed one.

@wesleycho wesleycho added this to the 1.0.0 milestone Nov 26, 2015
davious added a commit to davious/angular-ui-bootstrap that referenced this issue Nov 28, 2015
- Adds support for multiple input formats

Closes angular-ui#4951
Closes angular-ui#4952
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants