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(date-picker): support HH in custom-types #433

Merged
merged 1 commit into from
May 11, 2019
Merged

Conversation

xxyan0205
Copy link
Collaborator

@xxyan0205 xxyan0205 commented Apr 29, 2019

背景描述

DatePicker中的小时目前只支持24小时制,但custom-types中的小时用hh表示,所以增加HH支持

主要改动

  1. custom-types 中支持 HH
  2. getFormatDate 中支持 HH

需要注意

回归

@xxyan0205 xxyan0205 requested a review from moyus April 29, 2019 12:24
@moyus
Copy link
Contributor

moyus commented May 8, 2019

hh是12小时制,HH是24小时制。确定这么搞?

@xxyan0205
Copy link
Collaborator Author

datepicker只支持24小时,不管HH还是hh应该有一样的效果

@xxyan0205 xxyan0205 merged commit 44b846d into dev May 11, 2019
@xxyan0205 xxyan0205 deleted the fix_datepicker_hh branch May 26, 2019 11:14
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