Use a superior date format
This commit is contained in:
parent
5edaf17c71
commit
881c51792d
|
@ -52,9 +52,7 @@ preprocessor.load(function(data) {
|
||||||
var raceD = slyelement.curRaces[race];
|
var raceD = slyelement.curRaces[race];
|
||||||
$("#courseSelection").append("<li data=\"" + raceD.raceInfo.raceId + "\">" +
|
$("#courseSelection").append("<li data=\"" + raceD.raceInfo.raceId + "\">" +
|
||||||
"<span class=\"coursename\">" + raceD.raceInfo.name +"</span>"+
|
"<span class=\"coursename\">" + raceD.raceInfo.name +"</span>"+
|
||||||
"<div class=\"courseimagecontainer\"></div>"
|
"<div class=\"courseimagecontainer\"></div>" + raceD.raceInfo.date.toLocaleDateString("de-DE") + "</li>");
|
||||||
+ raceD.raceInfo.date.toLocaleDateString("en-US") +
|
|
||||||
"</li>");
|
|
||||||
|
|
||||||
$("#courseSelection li").click(function(event) {
|
$("#courseSelection li").click(function(event) {
|
||||||
var raceI = event.currentTarget.attributes.data.value;
|
var raceI = event.currentTarget.attributes.data.value;
|
||||||
|
|
Loading…
Reference in New Issue