forked from Archives/Athou_commafeed
display next refresh date
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
var module = angular.module('commafeed.filters', []);
|
||||
|
||||
module.filter('entryDate', function() {
|
||||
return function(timestamp) {
|
||||
return function(timestamp, defaultValue) {
|
||||
if (!timestamp) {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
var d = moment(timestamp);
|
||||
var now = moment();
|
||||
var formatted;
|
||||
|
||||
Reference in New Issue
Block a user