From 1f77d735ef62bbc45e79f692976397dfc19bfbb1 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Thu, 2 Aug 2018 13:27:27 +0200 Subject: [PATCH] xtick format: fix year labels (month year) still doesn't make a lot of sense with not enough data --- web/static/seepark_web.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index 816b6a5..33fb82d 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -145,9 +145,9 @@ function beginend(days) { dayschart('chart_water_1', 'Der See (Tag)', 1, '%H:%M'); dayschart('chart_water_7', 'Der See (Woche)', 7, '%a %d'); dayschart('chart_water_31', 'Der See (Monat)', 31, 'Woche %V'); -dayschart('chart_water_365', 'Der See (Jahr)', 365, '%b %d'); +dayschart('chart_water_365', 'Der See (Jahr)', 365, '%b %Y'); dayschart('chart_air_1', 'Die Luft (Tag)', 1, '%H:%M'); dayschart('chart_air_7', 'Die Luft (Woche)', 7, '%a %d'); dayschart('chart_air_31', 'Die Luft (Monat)', 31, 'Woche %V'); -dayschart('chart_air_365', 'Die Luft (Jahr)', 365, '%b %d'); +dayschart('chart_air_365', 'Die Luft (Jahr)', 365, '%b %Y'); -- 2.47.3