Fix translate function again

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
Raimund Schlüßler 2019-09-09 22:22:37 +02:00
parent de531432be
commit bcc39c77be
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178

View file

@ -61,9 +61,9 @@ export default {
var date = moment().add(day, 'day')
var dayString
if (day === 0) {
dayString = this.$t('tasks', 'Today')
dayString = t('tasks', 'Today')
} else if (day === 1) {
dayString = this.$t('tasks', 'Tomorrow')
dayString = t('tasks', 'Tomorrow')
} else {
dayString = date.format('dddd')
}