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

[Feature Request]: Date range picker date format customization #2210

Open
2 tasks done
pavelvrublevskij opened this issue Apr 30, 2024 · 3 comments
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@pavelvrublevskij
Copy link

pavelvrublevskij commented Apr 30, 2024

Problem Description

What we have and see now when whole system has date format as yyyy MMM dd, we have 3 different date formats what looks not quite well:

Screenshot 2024-04-30 121401

ISO format is not a solution when you want to have one date standard in your web application.

i.e. application could have by design date standard as: 2024 Jun 23 by date format yyyy MMM dd in this case.

Date range picker does not support this (no ISO standard for that). I looked in specification what ISO supported and there no short english version for month, but still if it is, the ISO is not a solution but a workaround solution.

en (English): January 22, 2024
en-GB (British English): 22 January 2024
de (German): 22 Jan 2024
es (Spanish): 22 ene 2024
fr (French): 22 janv. 2024
ja (Japanese): 2024年1月22日
it (Italian): 22 gen 2024
pt-BR (Brazilian Portuguese): 22 jan 2024
ko (Korean): 2024년 1월 22일
zh-CN (Simplified Chinese): 2024年1月22日
zh-TW (Traditional Chinese): 2024年1月22日
id (Indonesian): 22 Jan 2024
tr (Turkish): 22 Oca 2024

What expected in this feature request:

Would be great to have possibility to use different date formats for date range representation
ts example what could be used in your component.

format(parseISO(date), "yyyy MMM dd") <-- where possible to represent by format

Code of Conduct

@pavelvrublevskij pavelvrublevskij added the enhancement New feature or request label Apr 30, 2024
@gethinwebster
Copy link
Member

Thanks - this seems like a reasonable request. We will consider it for prioritization and post updates on this thread if anything changes.

@realzebabasu
Copy link

This feature is something we are looking for as well. Would be great to have.

@zfil123
Copy link

zfil123 commented Jun 12, 2024

This is an issue that our team has been facing as well. It would be super helpful for multiple date formats to be supported.

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

No branches or pull requests

4 participants