Change time to now

This commit is contained in:
Michael Götz 2018-04-04 20:28:11 +02:00
parent 45ea6d4c67
commit cae894dfdd

View File

@ -29,7 +29,7 @@
}; };
}, },
created() { created() {
let now = new Date('2018/03/19'); let now = new Date();
let today_yyyymmdd = this.formatDate(now); let today_yyyymmdd = this.formatDate(now);
now.setDate(now.getDate() + 7); now.setDate(now.getDate() + 7);
let last_weekday_yyyymmdd = this.formatDate(now); let last_weekday_yyyymmdd = this.formatDate(now);