2
0
Fork 0
forked from zynk/zynk

Strip trailing space from wttr.in weather descriptions. (0.40.6)

- Fixed trailing space in weather descriptions from wttr.in (e.g.
  'Partly Cloudy ' -> 'Partly Cloudy'), which caused a stray space
  before the closing parenthesis in !forecast full output (e.g.
  '(Partly Cloudy )' instead of '(Partly Cloudy)').
- Applied the same trailing-space fix to the cond field used by
  non-full !forecast and !weather.
- Updated CHANGELOG.md with 0.40.6 entry.
This commit is contained in:
Johannes Findeisen 2026-07-24 01:42:13 +02:00
commit 3b863d581d
4 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2026.07.24 - Strip trailing space from wttr.in weather descriptions. (0.40.6)
- Fixed trailing space in weather descriptions from wttr.in (e.g. `"Partly Cloudy "` → `"Partly Cloudy"`), which caused a stray space before the closing parenthesis in `!forecast full` output (e.g. `(Partly Cloudy )` instead of `(Partly Cloudy)`). Applied the same fix to the non-full `cond` field used by `!forecast` and `!weather`.
2026.07.23 - Full forecast mode, 24h sunrise/moon times, startup version. (0.40.5)
- Added `full` keyword to `!forecast`: `!forecast frankfurt full` shows per-day detail lines with weather description, sunrise/sunset, and moonrise/moonset in 24-hour format, sent as separate IRC messages.