Skip to content

refactor(date-picker): simplify date parsing by removing locale dependency#2287

Open
RylanBot wants to merge 1 commit intodevelopfrom
rylan/fix/date-picker/format
Open

refactor(date-picker): simplify date parsing by removing locale dependency#2287
RylanBot wants to merge 1 commit intodevelopfrom
rylan/fix/date-picker/format

Conversation

@RylanBot
Copy link
Collaborator

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

Tencent/tdesign-react#3444
Tencent/tdesign-vue-next#5367

💡 需求背景和解决方案

locale 全部交给组件库内部全局处理,避免大量函数需要手动传入语言,且未传递时意外使用了中文
其它端可以参考 React 的做法:Tencent/tdesign-react#3846

📝 更新日志

  • fix(DatePicker): 修复自定义 format 后的日期国际化失败的问题

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@tdesign-bot
Copy link
Collaborator

tdesign-bot commented Sep 27, 2025

TDesign Component Repositories CI Test Open

Component Lint Test Build Preview
tdesign-vue 👀
tdesign-vue-next 👀
tdesign-react 👀
tdesign-web-components 👀
tdesign-mobile-vue 👀
tdesign-mobile-react 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants