From b874afb6958dea7143cc0d5bc22f90cbe077a88f Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sat, 30 Dec 2017 11:49:30 +0100 Subject: [PATCH] Add year to race title --- js/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/util.js b/js/util.js index a3da7bb..7f5d1fd 100644 --- a/js/util.js +++ b/js/util.js @@ -154,7 +154,7 @@ function renderRaceInfoBox(race) { //console.log(raceInfo); var content = ""; - content = "

"+raceInfo.name+"

"; + content = "

"+raceInfo.name+" "+raceInfo.date.getFullYear()+"

"; content += "
"+circuit.name+" ("+circuit.location+", "+circuit.country+")
"; content += "
"+raceInfo.date.toLocaleDateString("de-DE")+"
" content += "
";