Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/29.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular ngx引导数据采集器本地化月份为小写_Angular_Ngx Bootstrap_Angular Bootstrap - Fatal编程技术网

Angular ngx引导数据采集器本地化月份为小写

Angular ngx引导数据采集器本地化月份为小写,angular,ngx-bootstrap,angular-bootstrap,Angular,Ngx Bootstrap,Angular Bootstrap,当我本地化时,BsDatepickermonth是小写的,除了英语本地化 import { kkLocale } from 'ngx-bootstrap/locale'; import { ruLocale } from 'ngx-bootstrap/locale'; defineLocale('kk', kkLocale); defineLocale('ru', ruLocale); 如何使所有标题都大写或小写 解决方案非常简单,我刚刚更改了一些css .bs-datepicker-hea

当我本地化时,
BsDatepicker
month是小写的,除了英语本地化

import { kkLocale } from 'ngx-bootstrap/locale';
import { ruLocale } from 'ngx-bootstrap/locale';
defineLocale('kk', kkLocale);
defineLocale('ru', ruLocale);
如何使所有标题都大写或小写


解决方案非常简单,我刚刚更改了一些css

.bs-datepicker-head .current span {
  text-transform: capitalize;
}

.bs-datepicker-body table tbody tr td span {
  text-transform: capitalize;
}

如果我是对的,您可以提供自己的语言JSON文件。让我检查一下