Skip to content
Snippets Groups Projects
Commit 1da8ddf7 authored by Rico van Endern's avatar Rico van Endern
Browse files

next Day noch ohne Infotext

parent 1f889683
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,11 @@ this.loaded = function(panel, config) {
function fillTable(json) {
var date = new Date();
switch (date.getDay()) {
var next = 0;
if(date.getHours() > 14 || (date.getHours() == 14 && date.getMinutes() >15)){
next = 1;
}
switch (date.getDay()+next) {
case 0:
var day = json.montag;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment