2

Bootstrap-datepicker を angular-translate と一緒に使用しようとしていますが、カレンダー言語を変更することも、実行時の日付パターンを変更することもできません。私の日付ピッカーコードは次のとおりです。

      $rootScope.$on('$translateChangeEnd', function() {
        $('.projectRecordDate').datepicker({
          format: $filter('translate')('common.datepicker.date'),
          todayHighlight: true,
          autoclose: true,
          language: $filter('translate')('common.datepicker.language'),
          showMeridian: true
        });
      }

誰でも私を助けることができますか?

4

0 に答える 0