[Feature Request]: Date range picker date format customization
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
调研方向
Start by reading the date range picker’s existing date-formatting behavior and its public API; the issue does not name files or tests. The request is to support formats such as yyyy MMM dd, but the interface for customization is unspecified, so clarify that design before implementation. Done means the date range representation can use a chosen format rather than only the current formats.
由索引模型根据 Issue 内容生成。
描述
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:
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
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate requests
- 主要语言
- TypeScript
- 星标
- 2.7k
- 派生
- 248
- 平均合并
- 3 天 14 小时
- 30 天内合并 PR
- 83
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudscape-design/components 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
cloudscape-design/components#5184 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
cloudscape-design/components#5152 · 1 条评论 ·
维护者通常 2 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 15/100
cloudscape-design/components#5149 · 1 条评论 ·
维护者通常 2 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 45/100
cloudscape-design/components#5117 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
cloudscape-design/components#5106 · 1 条评论 ·
维护者通常 2 天内回复
查看 cloudscape-design/components 的全部 Issue
相似的 Issue
-
Shell: serve the home app's Cookie Policy on a hard reload可能已有人在做 @2001anshkaushik 今天认领。 未关闭feature module:ai
难度 2/5 1-3 小时 新手友好度 88/100
rocketride-org/rocketride-server#2899 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
wazuh/wazuh-dashboard-plugins#9551 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
gofish-graphics/gofish-graphics#1252 ·
维护者通常 1 天内回复
-
optimization P3 size:XS
难度 1/5 1-3 小时 新手友好度 88/100
josephfung/curia#2366 ·
维护者通常 1 天内回复
-
type:bug
难度 2/5 1-3 小时 新手友好度 65/100
nightgauge/nightgauge#2688 ·
维护者通常 1 天内回复