Skip to content

fix: accept unix timestamps in widget forecast dates#225

Open
naltatis wants to merge 1 commit into
mainfrom
widget-unix-timestamps
Open

fix: accept unix timestamps in widget forecast dates#225
naltatis wants to merge 1 commit into
mainfrom
widget-unix-timestamps

Conversation

@naltatis

Copy link
Copy Markdown
Member

pairs with evcc-io/evcc#31765

evcc is switching the forecast payload's start/end/ts fields from RFC3339 strings to unix seconds. This makes the iOS widget decoder accept both formats so widgets keep working across old and new evcc versions.

  • widget JSON date decoding now tries unix seconds first, falls back to ISO-8601 strings
  • single change in the shared decoder covers all forecast consumers (solar timeseries, price/co2/feed-in slots)

@naltatis naltatis added enhancement New feature or request ios iOS specific issue labels Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ios iOS specific issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant