From 61ee488e99a099aeb1c69b5c58c225d5036e3954 Mon Sep 17 00:00:00 2001 From: Carlos Vega <carlos.vega@uni.lu> Date: Thu, 9 Jul 2020 12:39:40 +0200 Subject: [PATCH] fix issue with timestamp, day was not properly shown --- smash/web/templates/subjects/edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smash/web/templates/subjects/edit.html b/smash/web/templates/subjects/edit.html index eb668516..90400f57 100644 --- a/smash/web/templates/subjects/edit.html +++ b/smash/web/templates/subjects/edit.html @@ -175,7 +175,7 @@ // PROVENANCE // LOCALIZE TIMESTAMPS $('.moment-ts').toArray().forEach((time, idx) => { - var date = moment.unix(time.innerText).format('MMMM d, YYYY, h:mm a').replace(/(a|p)(m)/,'$1.$2.'); + var date = moment.unix(time.innerText).format('MMMM D, YYYY, h:mm a').replace(/(a|p)(m)/,'$1.$2.'); $(time).text(date); }); // SET UP TABLE -- GitLab