[mythtv-commits] [MythTV/mythtv] 577357: Python Bindings: Use integer division

rcrdnalor noreply at github.com
Sat Dec 3 17:07:06 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 577357a5f1c87b431927e3d060baad11bd0342a4
      https://github.com/MythTV/mythtv/commit/577357a5f1c87b431927e3d060baad11bd0342a4
  Author: Roland Ernst <rcrernst at gmail.com>
  Date:   2022-12-03 (Sat, 03 Dec 2022)

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

  Log Message:
  -----------
  Python Bindings: Use integer division

for calculation of the time zone ranges.

This was probably overlooked during the python 2 -> 3
conversion. It adds accuracy.
Found during code review.

Refs #672


  Commit: f43e2f0a36ba577c4c9209887a999bd31a3c49a2
      https://github.com/MythTV/mythtv/commit/f43e2f0a36ba577c4c9209887a999bd31a3c49a2
  Author: Roland Ernst <rcrernst at gmail.com>
  Date:   2022-12-03 (Sat, 03 Dec 2022)

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

  Log Message:
  -----------
  Python Bindings: Support time-zone data version 3

See RFC 8536 (1), which defines 'The Time Zone Information Format',
including version 3.
The changes made in v.3 are mainly related to the
'TZ String Extensions', which are not used by the MythTV
python bindings.

Refs #675
Fixes #672

(1) https://datatracker.ietf.org/doc/html/rfc8536
    February 2019


Compare: https://github.com/MythTV/mythtv/compare/5d456a56ad09...f43e2f0a36ba


More information about the mythtv-commits mailing list