From ef3d2314f73afd69723f138d70fb255a8d1ccbe5 Mon Sep 17 00:00:00 2001 From: mwinter Date: Fri, 8 Apr 2022 23:04:25 +0200 Subject: [PATCH] returning old talk date format --- public/javascripts/global.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/javascripts/global.js b/public/javascripts/global.js index 689ccb4..452daf1 100644 --- a/public/javascripts/global.js +++ b/public/javascripts/global.js @@ -295,7 +295,8 @@ function formatDate(date) { date.setHours(date.getHours() + (offset / 60)); date = alterDate(date); - return ("0" + (date.getMonth() + 1)).slice(-2) + "." + date.getFullYear(); + return ("0" + (date.getMonth() + 1)).slice(-2) + "." + ("0" + date.getDate()).slice(-2) + "." + date.getFullYear(); + //return ("0" + (date.getMonth() + 1)).slice(-2) + "." + date.getFullYear(); } function openToggle(toggle){