We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
prompts::DateSelect
No. It's about localization and visual improvements
Can we have localized title and days? eg: from (English)
## prompt ? pick a date > august 2021 > mo tu we th fr sa su ## output > pick a date August 15, 2021
to: (French)
? Choisissez une date > Août 2021 > Lundi Mardi Mercredi Jeudi Vendredi Samedi Dimanche ## output > Choisissez une date 15 août 2021
Or any other languages.
Though we are able to set the range for dates to pick, those unselectable dates are too visually clear to be distinguished with selectable date.
For localize days, pass days as parameters into a date enum with a default value accroding to itself
enum Days { Sunday(String), Monday(String), Tuesday(String), Wednesday(String), Thursday(String), Friday(String), Saturday(String), }
For title, I don't know either, perhaps this relates to the crate chrono.
chrono
The text was updated successfully, but these errors were encountered:
Absolutely, I'd love to have that. I'll spend some time and see if there's something ootb that does that, otherwise build an API for it.
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
No. It's about localization and visual improvements
Describe the solution you'd like
Localization
Can we have localized title and days?
eg: from (English)
to: (French)
Or any other languages.
Visual improvements
Though we are able to set the range for dates to pick, those unselectable dates are too visually clear to be distinguished with selectable date.
Describe alternatives you've considered
For localize days, pass days as parameters into a date enum with a default value accroding to itself
For title, I don't know either, perhaps this relates to the crate
chrono
.The text was updated successfully, but these errors were encountered: