g(d.getMonth() + 1).padStart(2, '0');
						var dd = String(d.getDate()).padStart(2, '0');
						var dateStr = y + '-' + m + '-' + dd;
						dayStats.push({
							dateStr: dateStr,
							worstSeverity: 'ok' /* by default */
						});
					}

					var incidents = data.pages || [];
					incidents.forEach(incident => {
						var severity = (incident.severity || '').toLowerCase();
						// If it's not "down" or "disrupted," no need to color the day as special
						if (severity !== 'down' && severity !== 'dis