mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
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