This repository has been archived on 2022-01-02. You can view files and clone it, but cannot push or open issues/pull-requests.
AriaNg/src/scripts/filters/longDate.js

11 lines
395 B
JavaScript

(function () {
'use strict';
angular.module('ariaNg').filter('longDate', ['ariaNgCommonService', 'ariaNgLocalizationService', function (ariaNgCommonService, ariaNgLocalizationService) {
return function (time) {
var format = ariaNgLocalizationService.getLongDateFormat();
return ariaNgCommonService.formatDateTime(time, format);
};
}]);
}());