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

12-hour support on timepicker #1513

Closed
patricknazar opened this issue May 24, 2018 · 3 comments
Closed

12-hour support on timepicker #1513

patricknazar opened this issue May 24, 2018 · 3 comments

Comments

@patricknazar
Copy link

What problem does this feature solve?

The timepicker is 24 hour time, I'd like 12 hour with AM/PM

What does the proposed API look like?

something like nzType="12"

@wenqi73
Copy link
Member

wenqi73 commented Jun 1, 2018

Set the [nzFormat] like this:

<nz-time-picker nzFormat="h:mm:ss a"></nz-time-picker>

1

@patricknazar
Copy link
Author

That only changes the format of the time, not the controls.

kekehaoz added a commit to kekehaoz/ng-zorro-antd that referenced this issue Mar 13, 2019
kekehaoz added a commit to kekehaoz/ng-zorro-antd that referenced this issue Mar 13, 2019
kekehaoz added a commit to kekehaoz/ng-zorro-antd that referenced this issue Mar 20, 2019
add unit test on feature `support 12-hour`
kekehaoz added a commit to kekehaoz/ng-zorro-antd that referenced this issue Mar 20, 2019
@wzhudev
Copy link
Member

wzhudev commented Apr 18, 2019

Closed by #3127.

@wzhudev wzhudev closed this as completed Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants