use ISO dateformat on the frontend instead of european formatting

This commit is contained in:
azivner 2018-08-15 08:48:16 +02:00
parent b897c6de13
commit f440493e45

View File

@ -24,7 +24,10 @@ function formatTimeWithSeconds(date) {
}
function formatDate(date) {
return padNum(date.getDate()) + ". " + padNum(date.getMonth() + 1) + ". " + date.getFullYear();
// return padNum(date.getDate()) + ". " + padNum(date.getMonth() + 1) + ". " + date.getFullYear();
// instead of european format we'll just use ISO as that's pretty unambiguous
return formatDateISO(date);
}
function formatDateISO(date) {