Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Added support for multiple date formats #152

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mohtasim85
Copy link

Added support for multiple input date format. Component prop 'format' takes an array of moment date formats like this:
format={['YYYYMMDD', 'YYYY-MM-DD', 'YYMMDD', 'YY-MM-DD']}
This allows you to type date in multiple formats and get the result back in specified format.

Tested locally and it is working fine.

I think this is one of the best react datepicker available, good styling and nice features. With this feature it meets all my needs.

@nemobot nemobot added the WIP label Aug 8, 2018
@pedrodim pedrodim force-pushed the master branch 2 times, most recently from 92c84eb to 3c7a49d Compare July 9, 2024 07:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants