You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moment-picker cannot locale if $scope.from = moment(new Date().toISOString());
passed as attribute value moment-picker="from"
It sets an English as localization and ignoring locale attribute: moment-picker="from" locale="uk"
Only if I set $scope.from = moment(new Date().toISOString()).locale("ru");
it helps, but I cannot do this, because I set already locale to all of my moment-pickers via momentPickerProvider: app.config(['momentPickerProvider', function (momentPickerProvider) { momentPickerProvider.options({ locale: 'uk' }); }]);
The text was updated successfully, but these errors were encountered:
moment-picker cannot locale if
$scope.from = moment(new Date().toISOString());
passed as attribute value
moment-picker="from"
It sets an English as localization and ignoring locale attribute:
moment-picker="from" locale="uk"
Only if I set
$scope.from = moment(new Date().toISOString()).locale("ru");
it helps, but I cannot do this, because I set already locale to all of my moment-pickers via momentPickerProvider:
app.config(['momentPickerProvider', function (momentPickerProvider) { momentPickerProvider.options({ locale: 'uk' }); }]);
The text was updated successfully, but these errors were encountered: