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: