'ngx-bootstrap datepicker localization month is lowercase

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?

rus localeeng locale enter image description hereenter image description here



Solution 1:[1]

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;
}

Solution 2:[2]

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;
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Aidos Omurzakov
Solution 2 LeeLenalee