diff --git a/public/javascripts/global.js b/public/javascripts/global.js index 022f5ad..d189a82 100644 --- a/public/javascripts/global.js +++ b/public/javascripts/global.js @@ -295,7 +295,7 @@ function formatDate(date) { date.setHours(date.getHours() + (offset / 60)); date = alterDate(date); - 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){