From 8ef6d3a04bacd98c474cfd498231693a1ef18e70 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 5 Nov 2019 09:11:37 +0100 Subject: [PATCH] Fix date formatting for end-date display --- app/templates/jobs/job.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/jobs/job.html.j2 b/app/templates/jobs/job.html.j2 index 896d2d25..30a722e8 100644 --- a/app/templates/jobs/job.html.j2 +++ b/app/templates/jobs/job.html.j2 @@ -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();