X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/blobdiff_plain/a72b8d03929f166cd8f034b207cc224b11623e6e..3c0da30b37d61aa8ebeb2672ef64b1ce68e97112:/web/static/seepark_web.js diff --git a/web/static/seepark_web.js b/web/static/seepark_web.js index c762fb0..47bd334 100644 --- a/web/static/seepark_web.js +++ b/web/static/seepark_web.js @@ -80,7 +80,10 @@ function dayschart(element, title, days, xtickformat) { x: { type: 'timeseries', tick: { - format: xtickformat, + format: function (d) { + var strftimeDE = strftime.localizeByIdentifier('de_DE'); + return strftimeDE(xtickformat, new Date(d)); + }, fit: false, multiline: true, // broken? so → rotate: -90