mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-11-25 15:06:20 +01:00
fix: render datetime model keys in their timezone, not the host's
Additional changes - A series created from pandas takes the timezone of its index, like a data frame. - Row methods of a data frame find their rows when `tz` differs from the host timezone. - to_timezone(date_time=...) names the timezone of an aware date-time, or the Etc/GMT zone of its UTC offset. - to_timezone(utc_offset=...) raises for offsets without an Etc/GMT zone instead of returning an invalid name. - Group the to_timezone tests in TestToTimezone. Closes #1592 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
@@ -241,6 +241,11 @@ test procedure. These changes are not yet a tagged release.
|
||||
renders predictions without provider-specific load statistics, keeps the scroll position after
|
||||
actions and shows no horizontal scrollbar.
|
||||
- Dropping root privileges no longer fails on non-Unix systems.
|
||||
- The date-time keys of data frames and series in API responses and requests (e.g. the
|
||||
`prediction` and `solution` of an optimization solution, the prediction and measurement series)
|
||||
follow their `tz`, or UTC without one, instead of the timezone of the EOS host. A series takes
|
||||
the timezone of its data. The keys name the same instants as before; only their UTC offsets
|
||||
can differ ([#1592](https://github.com/Akkudoktor-EOS/EOS/issues/1592)).
|
||||
|
||||
### Security
|
||||
|
||||
|
||||
Reference in New Issue
Block a user