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

[t-date-range-picker] v-model绑定空数组, 自定义格式化【format="YYYY-MM-DD hh:mm"】之后,选择右侧时间时上方输入框不会自动变化 #3609

Open
xiufj opened this issue Nov 15, 2023 · 2 comments

Comments

@xiufj
Copy link

xiufj commented Nov 15, 2023

tdesign-vue-next 版本

1.6.8

重现链接

https://tdesign.tencent.com/vue-next/components/date-picker#%E5%B8%A6%E5%BF%AB%E6%8D%B7%E6%A0%87%E7%AD%BE%E7%9A%84%E6%97%A5%E6%9C%9F%E9%80%89%E6%8B%A9%E5%99%A8

重现步骤

image

期望结果

选择右侧时间时上方输入框不会自动变化

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

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

@Ericleungs
Copy link
Contributor

时间格式不正确,采用了12小时制"hh:mm"的format属性应该附带"A"或"a"。在12小时制中不存在"00:00:00",所以导致你的时间选择功能出错。
参见:
12-hour clock_Wikipedia
十二小时制_百度百科
解析时间格式字符串_Day.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants