alibaba / alibaba/lowcode-engine
DateSetter汉化问题
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
## **Describe the bug (required)** / **详细描述 bug(必填)**
DateSetter 无法通过 moment-with-locales进行汉化,
---
## **To Reproduce (required)** / **如何复现 bug?(必填,非常重要)**
见[官网demo](https://lowcode-engine.cn/demo/demo-general/index.html)
---
中文版示例:
1. 打开 [demo](https://lowcode-engine.cn/demo/demo-general/index.html);
2. 添加原子组件--日期选择框;
3. 在右侧修改默认值;
4. 可见DateSetter无汉化;
## **Expected behavior (required)** / **预期行为(必填,非常重要)**
提供一种可预期的方式汉化日期Setter
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the DateSetter behavior in the linked official demo and reproduce the issue by adding a date selector and changing its default value. Trace how DateSetter handles locale information and how moment-with-locales is expected to provide Chinese localization. Done means a documented, predictable localization path is available and the Chinese demo behavior matches the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100