Datetime timezone awareness by eliasbenb · Pull Request #1590 · pushingkarmaorg/python-plexapi

added 9 commits

February 28, 2026 07:58
…deo module as to not conflict with other tests

Copilot AI review requested due to automatic review settings

February 28, 2026 14:03
…(e.g. alpine, windows)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…lready has timezone info

@eliasbenb

@eliasbenb

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

@eliasbenb

@eliasbenb

JonnyWong16

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

@eliasbenb

JonnyWong16

@eliasbenb

Re-exporting `plexapi.utils.DATETIME_TIMEZONE` stores a copy of the string at import time, which can cause descync if setDatetimeTimezone is later called.

Instead, we should dynamically load the `DATETIME_TIMEZONE` reference in a module-level `__getattr__`

JonnyWong16

@eliasbenb

JonnyWong16