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

feat(datepicker): allow overriding month label correctly #4023

Merged

Conversation

maxokorokov
Copy link
Member

  • introduces a new getMonthLabel(date: NgbDateStruct): string method to datepicker i18n
  • makes default i18n datepicker implementation accessible publicly

Fixes #3863

- introduces a new `getMonthLabel(date: NgbDateStruct): string` method to datepicker i18n
- makes default i18n datepicker implementation accessible publicly

Fixes ng-bootstrap#3863
@codecov-io
Copy link

Codecov Report

Merging #4023 (54a836a) into master (46af19d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4023   +/-   ##
=======================================
  Coverage   88.31%   88.31%           
=======================================
  Files         111      111           
  Lines        3525     3526    +1     
  Branches      646      646           
=======================================
+ Hits         3113     3114    +1     
  Misses        346      346           
  Partials       66       66           
Flag Coverage Δ
e2e 47.50% <100.00%> (+0.01%) ⬆️
unit 87.49% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/datepicker/datepicker.module.ts 100.00% <ø> (ø)
src/index.ts 100.00% <ø> (ø)
src/datepicker/datepicker-i18n.ts 95.00% <100.00%> (+0.26%) ⬆️
src/datepicker/datepicker.ts 99.09% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46af19d...54a836a. Read the comment docs.

@maxokorokov maxokorokov merged commit 921662a into ng-bootstrap:master Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Datepicker localization issue for Asian languages
2 participants