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];
|
||||
$("#courseSelection").append("<li data=\"" + raceD.raceInfo.raceId + "\">" +
|
||||
"<span class=\"coursename\">" + raceD.raceInfo.name +"</span>"+
|
||||
"<div class=\"courseimagecontainer\"></div>"
|
||||
+ raceD.raceInfo.date.toLocaleDateString("en-US") +
|
||||
"</li>");
|
||||
"<div class=\"courseimagecontainer\"></div>" + raceD.raceInfo.date.toLocaleDateString("de-DE") + "</li>");
|
||||
|
||||
$("#courseSelection li").click(function(event) {
|
||||
var raceI = event.currentTarget.attributes.data.value;
|
||||
|
|
Loading…
Reference in New Issue