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

[date-time-picker] 国际化 #2367

Closed
ysshull opened this issue Sep 20, 2023 · 1 comment · Fixed by #2464
Closed

[date-time-picker] 国际化 #2367

ysshull opened this issue Sep 20, 2023 · 1 comment · Fixed by #2464
Labels
enhancement New feature or request IssueShoot middle middle level of difficulties

Comments

@ysshull
Copy link

ysshull commented Sep 20, 2023

这个功能解决了什么问题

date-time-picker组件目前只加载了中文 import defaultLocale from './locale/zh';

你建议的方案是什么

希望【年月日时分秒】这些单位支持国际化,可以自定义语言,不限于中/英文

IssueShoot

  • 预估时长: 3
  • 期望完成时间: 2023-12-03
  • 开发难度: 中
  • 参与人数: 1
  • 验收标准: 实现期望改造效果,提 PR 并通过验收无误
  • 备注: 最终激励以实际提交 pull request 并合并为准
@github-actions
Copy link
Contributor

👋 @ysshull,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao anlyyao added the enhancement New feature or request label Oct 18, 2023
@anlyyao anlyyao added middle middle level of difficulties IssueShoot labels Nov 24, 2023
eric-lua added a commit to eric-lua/tdesign-miniprogram that referenced this issue Dec 1, 2023
DateTimePicker 组件支持国际化

re Tencent#2367
anlyyao added a commit that referenced this issue Dec 4, 2023
* feat(datetimepicker): date-picker

DateTimePicker 组件支持国际化

re #2367

* fix(date-time-picker): 修复代码冗余问题

* Update README.md

* Update README.md

---------

Co-authored-by: Y <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request IssueShoot middle middle level of difficulties
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants