mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-02 22:08:42 +00:00
commit
5d4a879d40
@ -79,7 +79,7 @@ calendar.processEvents = function (url, events) {
|
||||
this.eventList.push({'description':e.SUMMARY,'seconds':seconds,'days':time_string,'url': url, symbol: this.calendarSymbol});
|
||||
}
|
||||
e.seconds = seconds;
|
||||
} else if (endSeconds >= 0) {
|
||||
} else if (endSeconds > 0) {
|
||||
// TODO: Replace with better lang handling
|
||||
if (endSeconds <= 60*60*5 || endSeconds >= 60*60*24*2) {
|
||||
var time_string = this.shortRunningText + ' ' + moment(endDate).fromNow(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user