c4433bab48
Accepting request 1304050 from devel:languages:python
Ana Guerrero2025-09-12 19:09:03 +00:00
cab017fbc0
- update to 5.3.1: * Now only warns bout /etc/timezone if it is actually conflicting with other timezone configurations. * Now supports Python 3.9 to 3.13, and no longer requires backports.zoneinfo. * Some distributions are for some reason removing support for /etc/timezone, which is bad, because that's the only place where the timezone is stated in plain text, and what's worse, they don't delete it. So we can't trust it now, so when we have multiple configs, we are forced to just ignore it. * Attempts to return a ZoneInfo object also for UTC. * Updated python versions [hugovk] * Added type hints for the public functions * Moved to using pyproject.toml for project config. * The Unicode data doesn't change tz names when IANA does, so what is current in IANA is treated as an alias in Unicode data. This version handles that. * The logging info under windows made it look like it looked up the registry info even when you had a TZ environment, but it doesn't actually do that. * Improved the handling of loggers. * Fixed a bug in the new assert_tz_offset method. * Change how the system offset is calculated to deal with non- DST temporary changes, such as Ramadan time in Morocco. * Change the default to only warn when the timezone offset and system offset disagree (but still not even warn if TZ is set) * Add the assert_tz_offset() method to the top level for those who want to explicitly check and fail. - If tzlocal on Unix finds a timezone name in a /etc config file, then
Dirk Mueller2025-09-11 09:25:48 +00:00
da337f4c8a
Accepting request 1282538 from devel:languages:python
Ana Guerrero2025-06-06 20:35:06 +00:00
1ddf26d4e0
- update to 4.3: * Improved the error message when the ZoneInfo cannot be found * Don't error out because we find multiple possible timezones for a symlink.
Dirk Mueller2023-05-03 09:22:40 +00:00
22db9f4b7d
- update to 4.3: * Improved the error message when the ZoneInfo cannot be found * Don't error out because we find multiple possible timezones for a symlink.
Dirk Mueller2023-05-03 09:22:40 +00:00
b227fa5f8f
- update to 2.1: - The is_dst flag is wrong for Europe/Dublin on some Unix releases. I changed to another way of determining if DST is in effect or not. - Added support for Python 3.7 and 3.8. Dropped 3.5 although it still works.
Dirk Mueller2020-06-02 17:18:54 +00:00
a5d24527d3
- update to 2.1: - The is_dst flag is wrong for Europe/Dublin on some Unix releases. I changed to another way of determining if DST is in effect or not. - Added support for Python 3.7 and 3.8. Dropped 3.5 although it still works.
Dirk Mueller2020-06-02 17:18:54 +00:00
cc232de4c5
- Switch to github archive as per upstream recommendation: * the pypi archive fails tests due to wrong file->symlink conversions - Update to 1.5.1: * increased test coverage. * No longer treats macOS as special, but as a unix. * get_windows_info.py is renamed to update_windows_mappings.py * Windows mappings now also contain mappings from deprecated zoneinfo names. (Preston-Landers, regebro)
Tomáš Chvátal
2019-03-04 11:15:43 +00:00
877cf5826c
- Switch to github archive as per upstream recommendation: * the pypi archive fails tests due to wrong file->symlink conversions - Update to 1.5.1: * increased test coverage. * No longer treats macOS as special, but as a unix. * get_windows_info.py is renamed to update_windows_mappings.py * Windows mappings now also contain mappings from deprecated zoneinfo names. (Preston-Landers, regebro)
Tomáš Chvátal
2019-03-04 11:15:43 +00:00