Removed mdDateLocaleProvider accidentally left on removal of ngMaterial
This commit is contained in:
parent
9464117a2f
commit
dc0c21a841
@ -6,14 +6,6 @@ export function configureApp() {
|
||||
.config(['$httpProvider', function ($httpProvider) {
|
||||
$httpProvider.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
}])
|
||||
.config(['$mdDateLocaleProvider', function ($mdDateLocaleProvider) {
|
||||
$mdDateLocaleProvider.formatDate = function (date) {
|
||||
return !angular.isUndefined(date) ? moment(date).format('DD-MMM-YYYY') : "";
|
||||
};
|
||||
$mdDateLocaleProvider.parseDate = function (date) {
|
||||
return moment(date, 'DD-MMM-YYYY').toDate();
|
||||
};
|
||||
}])
|
||||
.config(['$httpProvider', function ($httpProvider) {
|
||||
$httpProvider.interceptors.push('responseInterceptor');
|
||||
}])
|
||||
|
Loading…
Reference in New Issue
Block a user