From e7d7ad408e6eefdcc9ab96b0024e5321ef02bcf2 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sat, 25 Jan 2020 08:04:12 -0500 Subject: [PATCH] Update unix.py --- libs/tzlocal/unix.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/tzlocal/unix.py b/libs/tzlocal/unix.py index 8574965a5..c62a03418 100644 --- a/libs/tzlocal/unix.py +++ b/libs/tzlocal/unix.py @@ -84,10 +84,11 @@ def _get_localzone(_root='/'): if not etctz: continue tz = pytz.timezone(etctz.replace(' ', '_')) - if _root == '/': + # Disabling this offset valdation due to issue with some timezone: https://github.com/regebro/tzlocal/issues/80 + # if _root == '/': # We are using a file in etc to name the timezone. # Verify that the timezone specified there is actually used: - utils.assert_tz_offset(tz) + # utils.assert_tz_offset(tz) return tz except IOError: