Reputation: 607
When I localize BsDatepicker
monthes are lowercase except English localization
import { kkLocale } from 'ngx-bootstrap/locale';
import { ruLocale } from 'ngx-bootstrap/locale';
defineLocale('kk', kkLocale);
defineLocale('ru', ruLocale);
How can I make all Titlecase or Lowercase?
Upvotes: 0
Views: 546
Reputation: 1009
its working through css only Please try this in style.css file
div.bs-datepicker-body>table.months>tbody>tr>td>span {
text-transform: capitalize !important;
}
Upvotes: 0
Reputation: 607
The solution was pretty ez , I have just changed some css
.bs-datepicker-head .current span {
text-transform: capitalize;
}
.bs-datepicker-body table tbody tr td span {
text-transform: capitalize;
}
Upvotes: 1