Mailing List Archive

[MythTV/mythtv] 6968bb: Python Bindings: Improve time-zone support
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 6968bb4032abf40fca2702ecf3886de31409758b
https://github.com/MythTV/mythtv/commit/6968bb4032abf40fca2702ecf3886de31409758b
Author: Roland Ernst <rcrernst@gmail.com>
Date: 2023-07-31 (Mon, 31 Jul 2023)

Changed paths:
M mythtv/bindings/python/MythTV/utility/dt.py

Log Message:
-----------
Python Bindings: Improve time-zone support

Since python 3.9, support for time-zones (1) is included in the
standard installation.
Use this module in favor of the hand-crafted implementation of
`MythTV.datetime.posixinfo()`

(1) https://docs.python.org/3/library/zoneinfo.html

Fixes MythTV#675


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits