Merge pull request #2452 from TheDuffman85/develop

This commit is contained in:
Michael Teeuw 2021-02-13 17:00:07 +01:00 committed by GitHub
commit 89152e537e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -372,8 +372,8 @@ Module.register("calendar", {
} else { } else {
timeWrapper.innerHTML = this.capFirst( timeWrapper.innerHTML = this.capFirst(
moment(event.startDate, "x").calendar(null, { moment(event.startDate, "x").calendar(null, {
sameDay: "[Today]", sameDay: "[" + this.translate("TODAY") + "]",
nextDay: "[Tomorrow]", nextDay: "[" + this.translate("TOMORROW") + "]",
nextWeek: "dddd" nextWeek: "dddd"
}) })
); );