Improved timezones detection