From 3f4c238b2fc321a86bff724f7dccf61cba3c9ec3 Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Thu, 26 Dec 2019 22:05:57 +0100 Subject: [PATCH] change month format --- snippets/graph.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/snippets/graph.html b/snippets/graph.html index 46c25f7..05b3e1f 100644 --- a/snippets/graph.html +++ b/snippets/graph.html @@ -57,7 +57,7 @@ $(function() { console.log("XXX: "+start.format()); function cb(start, end) { - $('#reportrange span').html(start.format('D. MMMM YYYY') + ' - ' + end.format('D. MMMM YYYY')); + $('#reportrange span').html(start.format('D. MMM YYYY') + ' - ' + end.format('D. MMM YYYY')); console.log("A new date selection was made: " + start.format() + ' to ' + end.format()); s_start = start.utc().format('YYYY-MM-DDTHH:mm:ss[Z]'); s_end = end.utc().format('YYYY-MM-DDTHH:mm:ss[Z]'); @@ -113,18 +113,18 @@ $(function() { "Sa" ], "monthNames": [ - "Januar", - "Februar", - "März", - "April", + "Jan", + "Feb", + "Mär", + "Apr", "Mai", - "Juni", - "Juli", - "August", - "September", - "Oktober", - "November", - "Dezember" + "Jun", + "Jul", + "Aug", + "Sep", + "Okt", + "Nov", + "Dez" ], "firstDay": 1 }, @@ -263,7 +263,7 @@ if (stop == null) { range = range + "&stop=" + stop; } -$('#reportrange span').html(moment(start).format('D. MMMM YYYY') + ' - ' + moment(stop).format('D. MMMM YYYY')); +$('#reportrange span').html(moment(start).format('D. MMM YYYY') + ' - ' + moment(stop).format('D. MMM YYYY')); drawGraph(deveui, alias, property, start, stop, true);