Skip to content
Snippets Groups Projects
Commit 8ef6d3a0 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Fix date formatting for end-date display

parent 84578c0d
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
if (timestamp === null) { if (timestamp === null) {
end_date = "N.a."; end_date = "N.a.";
} else { } else {
end_date = new Date(timestamp * 1000).toLocaleString(); end_date = new Date(timestamp * 1000).toLocaleString("en-US");
} }
document.getElementById("end-date").value = end_date; document.getElementById("end-date").value = end_date;
M.updateTextFields(); M.updateTextFields();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment