mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 20:22:53 +00:00
Fixed typo in condition
This commit is contained in:
parent
839ca9ecfb
commit
ce5c0ed5ba
@ -315,7 +315,7 @@ Module.register("calendar", {
|
|||||||
event.endDate -= oneSecond;
|
event.endDate -= oneSecond;
|
||||||
timeWrapper.innerHTML = this.capFirst(moment(event.startDate, "x").format(this.config.fullDayEventDateFormat));
|
timeWrapper.innerHTML = this.capFirst(moment(event.startDate, "x").format(this.config.fullDayEventDateFormat));
|
||||||
}
|
}
|
||||||
if (this.config.getRelative > 0 && event.startDate >= now) {
|
if (this.config.getRelative > 0 && event.startDate < now) {
|
||||||
// Ongoing and getRelative is set
|
// Ongoing and getRelative is set
|
||||||
timeWrapper.innerHTML = this.capFirst(
|
timeWrapper.innerHTML = this.capFirst(
|
||||||
this.translate("RUNNING", {
|
this.translate("RUNNING", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user