Skip to content

Commit

Permalink
Merge pull request #2829 from sdetweil/calfix
Browse files Browse the repository at this point in the history
  • Loading branch information
MichMich committed Mar 29, 2022
2 parents 9620566 + cdd8743 commit 612b063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ _This release is scheduled to be released on 2022-04-01._
- Fix minor console output issue for loading translations (#2814).
- Don't adjust startDate for full day events if endDate is in the past
- Fix windspeed conversion error in openweathermap provider. (#2812)
- Fix conflicting parms turning off showEnd for full day events. (#2629)

## [2.18.0] - 2022-01-01

Expand Down
3 changes: 1 addition & 2 deletions modules/default/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,7 @@ Module.register("calendar", {
//subtract one second so that fullDayEvents end at 23:59:59, and not at 0:00:00 one the next day
event.endDate -= oneSecond;
timeWrapper.innerHTML = this.capFirst(moment(event.startDate, "x").format(this.config.fullDayEventDateFormat));
}
if (this.config.getRelative > 0 && event.startDate < now) {
} else if (this.config.getRelative > 0 && event.startDate < now) {
// Ongoing and getRelative is set
timeWrapper.innerHTML = this.capFirst(
this.translate("RUNNING", {
Expand Down

0 comments on commit 612b063

Please sign in to comment.