show no talks for tomorrow
This commit is contained in:
parent
3b61260084
commit
521ace7a21
|
@ -90,7 +90,8 @@ class Schedule {
|
||||||
this.schedule.find('event').each( function(){
|
this.schedule.find('event').each( function(){
|
||||||
|
|
||||||
var eventStart = new Date($(this).children('date').text());
|
var eventStart = new Date($(this).children('date').text());
|
||||||
if ((eventStart - now) >= 0){
|
var tenHours = 36000000;
|
||||||
|
if ((eventStart - now) >= 0 && (eventStart - now) < tenHours){
|
||||||
allEvents.push({
|
allEvents.push({
|
||||||
title: $(this).children('title').text(),
|
title: $(this).children('title').text(),
|
||||||
room: $(this).children('room').text(),
|
room: $(this).children('room').text(),
|
||||||
|
|
Loading…
Reference in New Issue