From fd65d552574518361d118779ccfc626c8aad7202 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Thu, 1 Feb 2018 19:28:17 +0200 Subject: [PATCH] Fixed Midnight appearing as "2 Jan" on PunchCard (#247) --- Plan/src/main/resources/web/js/charts/punchCard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Plan/src/main/resources/web/js/charts/punchCard.js b/Plan/src/main/resources/web/js/charts/punchCard.js index a16775f47..c65f7b788 100644 --- a/Plan/src/main/resources/web/js/charts/punchCard.js +++ b/Plan/src/main/resources/web/js/charts/punchCard.js @@ -7,7 +7,8 @@ function punchCard(id, punchcardSeries) { xAxis: { type: 'datetime', dateTimeLabelFormats: { - hour: '%I %P' + hour: '%I %P', + day: '%H %P' }, tickInterval: 3600000 },