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){