InputDatetime UTC异常
Open
need confirm
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
启用UTC 且配置了format, 在选择器中选择后, 文本框中显示的时utc值, 而且选择器中的选项也乱跳.
在显示及用户选择时,应该还是以用户本地时间为准吧?
版本: 1.9
操作步骤
在官网示例中 可以重现问题: https://aisuda.bce.baidu.com/amis/zh-CN/components/form/input-datetime#utc
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the InputDatetime UTC example at https://aisuda.bce.baidu.com/amis/zh-CN/components/form/input-datetime#utc and reproduce the issue with UTC enabled and a format configured. Trace the component's display and picker behavior after selecting a value. Done means the text box and picker continue to use the user's local time without jumping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100