summaryrefslogtreecommitdiff
path: root/www/js/index.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-11-18 19:22:14 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2016-08-15 20:02:48 +0200
commit4e30b4055d997cf454145ceb26212ac9f4d60afd (patch)
tree8f1efbb22a9f1b322ee2b5a7cd08142f874a67dc /www/js/index.js
parentbbfa875e69f8047864f1999ab9b88e9f7d65a4dc (diff)
downloadwvs-vplan-4e30b4055d997cf454145ceb26212ac9f4d60afd.tar.gz
wvs-vplan-4e30b4055d997cf454145ceb26212ac9f4d60afd.zip
Aktualisierung der Bibliotheken
Diffstat (limited to 'www/js/index.js')
-rw-r--r--www/js/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/index.js b/www/js/index.js
index 978a639..a6dc18e 100644
--- a/www/js/index.js
+++ b/www/js/index.js
@@ -141,7 +141,7 @@ $('#mainpage').on('pagebeforeshow', function(){
$('.version').text(version);
/* Sprache setzen */
- moment.lang('de');
+ moment.locale('de');
/* Nutzungsstatistiken */
_paq.push(['setTrackerUrl', 'https://klimaag.***REMOVED***/piwik/piwik.php']);
@@ -264,7 +264,7 @@ function fillForm(){
function addNotification(vdate, msgarr, $div){
var msg = msgarr.join('\n');
var title = 'Vertretungen für ' + vdate.format('dddd');
- var ndate = vdate.subtract('days', 1).add('days', $('#notifydayflip').val()); // Bei Bedarf einen Tag vorher
+ var ndate = vdate.subtract(1, 'days').add($('#notifydayflip').val(), 'days'); // Bei Bedarf einen Tag vorher
if(moment().isBefore(ndate)){
window.plugin.notification.local.add({