Fixed timezone offset calculation.