Skip to content

Commit 78827f3

Browse files
committed
update dependencies and formatting
1 parent 99dda82 commit 78827f3

File tree

5 files changed

+974
-570
lines changed

5 files changed

+974
-570
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ planned for 2025-04-01
2424

2525
### Updated
2626

27+
- [core] Update dependencies and formatting
28+
2729
### Fixed
2830

2931
- [calendar] Fix clipping events being broadcast (#3678)

modules/default/clock/clock.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ Module.register("clock", {
181181
const untilNextEventString = `${untilNextEvent.hours()}h ${untilNextEvent.minutes()}m`;
182182
sunWrapper.innerHTML
183183
= `<span class="${isVisible ? "bright" : ""}"><i class="fas fa-sun" aria-hidden="true"></i> ${untilNextEventString}</span>`
184-
+ `<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunrise)}</span>`
185-
+ `<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunset)}</span>`;
184+
+ `<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunrise)}</span>`
185+
+ `<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${formatTime(this.config, sunTimes.sunset)}</span>`;
186186
digitalWrapper.appendChild(sunWrapper);
187187
}
188188

@@ -208,8 +208,8 @@ Module.register("clock", {
208208

209209
moonWrapper.innerHTML
210210
= `<span class="${isVisible ? "bright" : ""}">${image} ${showFraction ? illuminatedFractionString : ""}</span>`
211-
+ `<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${moonRise ? formatTime(this.config, moonRise) : "..."}</span>`
212-
+ `<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${moonSet ? formatTime(this.config, moonSet) : "..."}</span>`;
211+
+ `<span><i class="fas fa-arrow-up" aria-hidden="true"></i> ${moonRise ? formatTime(this.config, moonRise) : "..."}</span>`
212+
+ `<span><i class="fas fa-arrow-down" aria-hidden="true"></i> ${moonSet ? formatTime(this.config, moonSet) : "..."}</span>`;
213213
digitalWrapper.appendChild(moonWrapper);
214214
}
215215

modules/default/weather/weatherutils.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,14 @@ const WeatherUtils = {
128128
} else if (tempInF > 80 && humidity > 40) {
129129
feelsLike
130130
= -42.379
131-
+ 2.04901523 * tempInF
132-
+ 10.14333127 * humidity
133-
- 0.22475541 * tempInF * humidity
134-
- 6.83783 * Math.pow(10, -3) * tempInF * tempInF
135-
- 5.481717 * Math.pow(10, -2) * humidity * humidity
136-
+ 1.22874 * Math.pow(10, -3) * tempInF * tempInF * humidity
137-
+ 8.5282 * Math.pow(10, -4) * tempInF * humidity * humidity
138-
- 1.99 * Math.pow(10, -6) * tempInF * tempInF * humidity * humidity;
131+
+ 2.04901523 * tempInF
132+
+ 10.14333127 * humidity
133+
- 0.22475541 * tempInF * humidity
134+
- 6.83783 * Math.pow(10, -3) * tempInF * tempInF
135+
- 5.481717 * Math.pow(10, -2) * humidity * humidity
136+
+ 1.22874 * Math.pow(10, -3) * tempInF * tempInF * humidity
137+
+ 8.5282 * Math.pow(10, -4) * tempInF * humidity * humidity
138+
- 1.99 * Math.pow(10, -6) * tempInF * tempInF * humidity * humidity;
139139
}
140140

141141
return ((feelsLike - 32) * 5) / 9;

0 commit comments

Comments
 (0)