mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
fix date
This commit is contained in:
parent
1685afa2f5
commit
502b6fa676
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ Template.posts_digest.helpers({
|
|||
},
|
||||
showNextDate: function(){
|
||||
var currentDate=moment(sessionGetObject('currentDate')).startOf('day');
|
||||
var today=moment(new Date());
|
||||
var today=moment(new Date()).startOf('day');
|
||||
return today.diff(currentDate, 'days') > 0
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue