This repository has been archived on 2022-01-02. You can view files and clone it, but cannot push or open issues/pull-requests.
2016-06-24 16:50:49 +02:00
|
|
|
(function () {
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular.module('ariaNg').filter('longDate', ['$translate', 'moment', function ($translate, moment) {
|
|
|
|
return function (time) {
|
|
|
|
var format = $translate.instant('format.longdate');
|
|
|
|
return moment(time).format(format);
|
2016-12-10 18:50:25 +01:00
|
|
|
};
|
2016-06-24 16:50:49 +02:00
|
|
|
}]);
|
2016-08-01 16:49:16 +02:00
|
|
|
}());
|