Fix date formatting for end-date display

This commit is contained in:
Patrick Jentsch 2019-11-05 09:11:37 +01:00
parent 84578c0d76
commit 8ef6d3a04b

View File

@ -79,7 +79,7 @@
if (timestamp === null) {
end_date = "N.a.";
} else {
end_date = new Date(timestamp * 1000).toLocaleString();
end_date = new Date(timestamp * 1000).toLocaleString("en-US");
}
document.getElementById("end-date").value = end_date;
M.updateTextFields();