Fix bug in timezone offset computation