From 881c51792d53303f9e437bc622bc91198448a684 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Fri, 29 Dec 2017 21:28:05 +0100 Subject: [PATCH] Use a superior date format --- js/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/main.js b/js/main.js index a437701..8a9c99f 100644 --- a/js/main.js +++ b/js/main.js @@ -52,9 +52,7 @@ preprocessor.load(function(data) { var raceD = slyelement.curRaces[race]; $("#courseSelection").append("
  • " + "" + raceD.raceInfo.name +""+ - "
    " - + raceD.raceInfo.date.toLocaleDateString("en-US") + - "
  • "); + "
    " + raceD.raceInfo.date.toLocaleDateString("de-DE") + ""); $("#courseSelection li").click(function(event) { var raceI = event.currentTarget.attributes.data.value;