diff --git a/status.html b/status.html
index 7a15528..9bd0e35 100644
--- a/status.html
+++ b/status.html
@@ -54,14 +54,14 @@ layout: default
var hourArray = [];
while(hourStart < moment()) {
- if(hourArray[hourStart.weekday()] === undefined)
- hourArray[hourStart.weekday()] = [];
+ if(hourArray[hourStart.isoWeekday()] === undefined)
+ hourArray[hourStart.isoWeekday()] = [];
- if(hourArray[hourStart.weekday()][hourStart.hour()] === undefined)
- hourArray[hourStart.weekday()][hourStart.hour()] = 0;
+ if(hourArray[hourStart.isoWeekday()][hourStart.hour()] === undefined)
+ hourArray[hourStart.isoWeekday()][hourStart.hour()] = 0;
if(moment.unix(openTimeArray[openTimeArrayIndex][1]) < hourStart && moment.unix(openTimeArray[openTimeArrayIndex][2]) > hourStart) {
- hourArray[hourStart.weekday()][hourStart.hour()]++;
+ hourArray[hourStart.isoWeekday()][hourStart.hour()]++;
}
if(moment.unix(openTimeArray[openTimeArrayIndex][2]) < hourStart && openTimeArray.length > openTimeArrayIndex + 1)
@@ -71,9 +71,9 @@ layout: default
}
hourObjectArray = [];
- for(i=0;i