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

fix(TimePicker): fixed only support hh:mm format #3280

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

myronliu347
Copy link
Contributor

@myronliu347 myronliu347 commented Aug 26, 2024

🤔 这个 PR 的性质是?

  • 日常 bug 修复

💡 需求背景和解决方案

目前time-picker format仅支持 HH:mm:ss 这种格式化的使用,当 format 设置了 HH时mm分ss秒 这种格式时,选择器仅允许选择小时。

📝 更新日志

  • fix(TimePicker): 修复format 仅支持 HH:mm:ss 格式的问题;

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

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

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

@uyarn
Copy link
Collaborator

uyarn commented Aug 26, 2024

谢谢PR🌹,我们review下,BTW,这些可以直接打勾,不用手写 image

Copy link
Contributor

完成

@uyarn uyarn merged commit 36b4393 into Tencent:develop Aug 26, 2024
6 checks passed
@uyarn
Copy link
Collaborator

uyarn commented Aug 27, 2024

extract for reusing by Tencent/tdesign-common#1906

uyarn added a commit that referenced this pull request Aug 29, 2024
* fix(select): fix keyboard up down behaviour when using group config(#3278)

* fix(select): 修复 flattenOptions 方法分组扁平化问题及上下键切换功能
>>
>> - 修复了 flattenOptions 函数未正确扁平化分组的问题,导致在分组间切换时上下键无法正确切换。
>> - 修复了上下键切换时,激活项未能滚动到下拉面板视口内的问题。

* fix(select): 修复新增的setHoverIntoView方法下常量没给定类型导致lint校验失败

* fix(ColorPicker):  selectInputProps API can't work  (#3279)

* fix(color-picker):修复ColorPicker透传SelectInputProps无效问题

* fix(color-picker): 修复color-picker组件的selectInputProps属性失效问题

---------

Co-authored-by: taninsist <taninsist@gmail.com>

* fix(TimePicker): fixed only support hh:mm format (#3280)

* fix(TimePicker): fix disableTime position value always being `start` (#3281)

* fix(TimePicker): fixed only support hh:mm format

* fix(TimePicker): disabled position only is  start

* perf: use getPickerCols (#3283)

* feat(form): formErrorMessage add whitespace (#3284)

* feat(List): support scroll API  (#3286)

* feat(list): support virtual scroll

* feat(list): support virtual scroll

* chore: fix docs and demo

* chore: fix lint

* chore: fix lint

* chore: fix test

* chore: fix test

* chore: fix test

* feat(config-provider): support colonText rateText checkIcon (#3288)

* docs(Input): value type remove Number

* feat(config-provider): support colonText rateText  checkIcon

* chore: fix lint

* chore: fix lint

* chore: update snapshot

* chore: fix doc

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat(empty): add new component Empty (#3287)

* feat(empty): new Empty component

* fix(empty): fix render svg

* perf(empty): optimization code

* chore(settings): revert vscode settings file

* chore(empty): rm overage file

* chore: fix demo

* chore: fix docs

* chore: fix demo

* chore: update snapshot

* chore: fix test

---------

Co-authored-by: Uyarn <uyarnchen@gmail.com>

* fix(badge): fix content api (#3289)

* fix(cascader): cascader panel support option slot (#3290)

* chore: release 1.10.0 (#3291)

* chore: release 1.10.0

* chore: update CHANGELOG

* chore: release 1.10.0-naruto

---------

Co-authored-by: dhwebs <53416746+dhwebs@users.noreply.github.com>
Co-authored-by: taninsist <78793442+taninsist@users.noreply.github.com>
Co-authored-by: taninsist <taninsist@gmail.com>
Co-authored-by: myron <myronliu347@gmail.com>
Co-authored-by: liweijie0812 <674416404@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Haixing <65376724+HaixingOoO@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants