diff --git a/src/components/Mensa.vue b/src/components/Mensa.vue index bf1787e..64f5361 100644 --- a/src/components/Mensa.vue +++ b/src/components/Mensa.vue @@ -32,7 +32,12 @@ export default { this.$router.replace(this.$route.fullPath + '/') } if (!this.$route.params.tag) { - this.$router.push('' + (new Date().getDay() || 1)) + let day = (new Date().getDay() || 1) + if (new Date().getHours() > 15) { + // show next day + ++day + } + this.$router.push('' + day) } this.loadMeals() }