You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On some systems, e.g. FreeBSD, if the system installied zoneinfo database is used this can lead to ValueError exceptions if using the Factory timezone.
Current TZPATH: ('/usr/share/zoneinfo', '/usr/lib/zoneinfo', '/usr/share/lib/zoneinfo', '/etc/zoneinfo')
An error occurred: Invalid STD format in b'<Local time zone must be set--use tzsetup>0'`
If using the tzdata package the problem doesn't occur:
On some systems, e.g. FreeBSD, if the system installied zoneinfo database is used this can lead to
ValueError
exceptions if using theFactory
timezone.The affected line is: https://github.com/mfogel/django-timezone-field/blob/main/timezone_field/backends/zoneinfo.py#L21
Here's a way to reproduce the issue:
Output:
If using the
tzdata
package the problem doesn't occur:Output:
The described behavior was observed on FreeBSD 12.4-RELEASE, 13.2-RELEASE and 14.0-BETA4 with Python 3.9.18.
The text was updated successfully, but these errors were encountered: