Code

Fixed parse_timezone to correctly calculate the offset in seconds.