[GRASS-git] [OSGeo/grass] 85bf53: build: Help older Python parse new Git dates (#3721)

Vaclav Petras noreply at github.com
Sun May 19 09:48:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 85bf53be5cd63a27772e3db5decb1a60241024f4
      https://github.com/OSGeo/grass/commit/85bf53be5cd63a27772e3db5decb1a60241024f4
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2024-05-19 (Sun, 19 May 2024)

  Changed paths:
    M utils/mkhtml.py

  Log Message:
  -----------
  build: Help older Python parse new Git dates (#3721)

>
Current Git (2.45.1) produces strict ISO dates with Z for any time with +00:00 time zone offest. Python prior to 3.11 does not understand these dates. This trunkes the Z in case of ValueError which is what old Python throws. The +00:00 offset is placed in the input string for fromisoformat instead.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list