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

Datepicker Date Selection Box Title Format #1060

Closed
VikingHobo opened this issue Feb 20, 2018 · 1 comment
Closed

Datepicker Date Selection Box Title Format #1060

VikingHobo opened this issue Feb 20, 2018 · 1 comment

Comments

@VikingHobo
Copy link

What problem does this feature solve?

In the datepicker window, the currently selected month is displayed in numbers. For instance, February 2018 is displayed as 2 2018. This is not user friendly and we should be allowed to specify a localized format (such as Feb 2018).

What does the proposed API look like?

The individual month and year can be configured like this

<nz-datepicker
    [nzPickerSelectedMonthFormat]="'MMM'"
    [nzPickerSelectedYearFormat]="'YYYY'" />
@lock
Copy link

lock bot commented May 15, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 15, 2019
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
…ker against to ant-design (NG-ZORRO#1254)

close NG-ZORRO#1367 close NG-ZORRO#1267 close NG-ZORRO#1107 close NG-ZORRO#1097 close NG-ZORRO#1094 close NG-ZORRO#1079 close NG-ZORRO#1063 close NG-ZORRO#1060 close NG-ZORRO#1060 close NG-ZORRO#1046 close NG-ZORRO#1034 close NG-ZORRO#955 close NG-ZORRO#906 close NG-ZORRO#761 close NG-ZORRO#707 close NG-ZORRO#741 close NG-ZORRO#646 
* refactor(module:date-picker): TODO: complete all

complete more

complete date wrapper, need more flexiable with APIs of value select and change

complete parts of footer

the datepicker almost complete

commit to avoid side-effects with experiments

import the legacy timepicker, date-picker almost done

complete the common apis for datepicker

support all API for date-picker (which related to timepicker needs tebe complete)

split the date picker into more flexable components, pending for next range-picker

combine range-popup into date-popup, need self-testing

plug out the common abstract picker for both single/range picker

the range picker is almost done, but lots of work need todo still

soft remove legacy time-picker

compat with the latest time-picker

re-render the content of picker when open

add month-picker, need tobe done

done with month-picker & ready to develop week-picker

add support of week-picker

support ngModel for all pickers

complete parts of demos

support timePickerDisabled && timePickerDisabled (need testing)

support time-picker for date/range picker and more options like disabledDate/disabledTime

complete all demo and the chinese doc

add some testings for date-picker component

add more testing for date-picker component

fix problems of overlay's origin and backdrop with open

add testing for date-picker with ngModel

done testings for date-picker, start to add testings for range-picker

add testings for range picker

increase coverage of testings for date picker module

add testings for month-picker

increase more testing coverage

complete more testings for date picker module

* trimming relates for build packaging

* complete the zh/en documents

* support animations when hide/show

* fix(module:date-picker): change default to ngModel

* fix(module:date-picker): change default to ngModel

* fix the range's wrong default value setting

* make CandyDate changes into range picker testing

* aim to trigger ci

test(module:date-picker): fix month-picker test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant