From 9f6c944dc7ab973ab93ee8ed5a432d4942859a45 Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 1 May 2014 17:40:40 +0200 Subject: ändere Verwirrung bei Uhrzeiten und Daten MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/index.js b/js/index.js index e7d81d6..9ea46ce 100644 --- a/js/index.js +++ b/js/index.js @@ -169,7 +169,7 @@ function addNotification(vdate, msg, $div){ location.href = '#' + div; // TODO hoffentlich funktioniert das auch immer... } - console.log('Benachrichtigung hinzugefügt: ' + vdate.format('DD.MM. hh:mm') + '; ' + msg); + console.log('Benachrichtigung hinzugefügt: ' + vdate.format('DD.MM. HH:mm') + '; ' + msg); } } @@ -373,8 +373,8 @@ function renderPage($div, pdf, pageNumber, callback){ vdate.set('hour', time[0]); vdate.set('minute', time[1]); - addNotification(vdate, vertretungen.join('\n'), $div); addSocialButton(vdate, vertretungen.join(', '), $div); + addNotification(vdate, vertretungen.join('\n'), $div); //FIXME addNotification ändert vdate } }); -- cgit v1.3.1