Uninett / zinolib

Python library for zino
Apache License 2.0
1 stars 3 forks source link

Make timezone configurable #46

Closed hmpf closed 1 month ago

hmpf commented 5 months ago

Internally, everything happens in UTC. In the frontend, whether using UTC or local time should be configurable.

Since each howitz request makes its own connection to zino with zinolib we could have timezone as a parameter when setting up the manager, and store datetimes accordingly.

See also Uninett/Howitz#61

lunkwill42 commented 1 month ago

IRL discussion concludes that this is not a necessary feature of zinolib. As long as all returned timestamps are timezone-aware (i.e. UTC), it's up to the client to convert to another timezone if so desired.