Skip to content
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

Use DateFormat.SHORT in the sdc lib #1348

Closed
jingtang10 opened this issue Apr 29, 2022 · 1 comment · Fixed by #1350
Closed

Use DateFormat.SHORT in the sdc lib #1348

jingtang10 opened this issue Apr 29, 2022 · 1 comment · Fixed by #1350
Labels
type:enhancement New feature or request

Comments

@jingtang10
Copy link
Collaborator

jingtang10 commented Apr 29, 2022

Is your feature request related to a problem? Please describe.
See this doc: https://developer.android.com/reference/android/icu/text/DateFormat

Note: SHORT is completely numeric, such as 12.13.52 or 3:30pm

I think that is something that we might want to use in the text input box for date and time pickers, especially if (and that's a big if @aditya-07 @shelaghm) we allow the user to actually input text directly.

I think the short numeric format might just make more sense for input, and also for data entry in general. I can't imagine people being keen to use month names while inputing dates.

Describe the solution you'd like
Use https://developer.android.com/reference/android/icu/text/DateFormat and specifically use the DateFormat.SHORT format

Describe alternatives you've considered
current solution. But we get things like "1 May 2022" in the text input, which in my opinion is kinda strange.

Additional context
NA

Would you like to work on the issue?
Yeah

@shelaghm
Copy link

+1 to using short/numeric only dates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants