-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mulit format support to TimePicker #133
base: master
Are you sure you want to change the base?
Add mulit format support to TimePicker #133
Conversation
Test which is failing is already failing in master branch. Once this is fixed this pull request will pass the required checks. |
great |
Codecov Report
@@ Coverage Diff @@
## master #133 +/- ##
========================================
+ Coverage 89.5% 90% +0.49%
========================================
Files 7 8 +1
Lines 381 390 +9
Branches 93 93
========================================
+ Hits 341 351 +10
+ Misses 40 39 -1
Continue to review full report at Codecov.
|
Could this implemented feature be taken into use? It would be helpful at least in some countries around the world. |
Allows format prop to allow an array of formats. The control then uses the array of formats when parsing a date from the input. The first value of the array determines the displayed format.
An example use case is that a user may want to enter a time as hmm but display as h:mm a.