Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ planned for 2026-01-01

### Added

- [weather] feat: add configurable forecast date format option (#3918)

### Changed

- [core] refactor: replace `module-alias` dependency with internal alias resolver (#3893)
Expand Down
2 changes: 1 addition & 1 deletion modules/default/weather/forecast.njk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% elif (currentStep == 1) and config.ignoreToday == false and config.absoluteDates == false %}
<td class="day">{{ "TOMORROW" | translate }}</td>
{% else %}
<td class="day">{{ f.date.format("ddd") }}</td>
<td class="day">{{ f.date.format(config.forecastDateFormat) }}</td>
{% endif %}
<td class="bright weather-icon">
<span class="wi weathericon wi-{{ f.weatherType }}"></span>
Expand Down
1 change: 1 addition & 0 deletions modules/default/weather/weather.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Module.register("weather", {
onlyTemp: false,
colored: false,
absoluteDates: false,
forecastDateFormat: "ddd", // format for forecast date display, e.g., "ddd" = Mon, "dddd" = Monday, "D MMM" = 18 Oct
hourlyForecastIncrements: 1
},

Expand Down