parse_date: fix signedness in timezone calculation