ZoneParser AssertionError with negative offsets

Description

CLDR unit tests fail at svn r14762 with an AssertionError out of the ZoneParser.

Stack trace from CLDR unit tests:

The following assert fails in the CLDR ZoneParser. The function is called with in="-1:00" and allowNegative=false.

This is called from

where the list l is `[-1:00, GMT, 1947, Feb, 23, 2:00|1:00,]`. The zoneID is "Europe/Prague".

Could this be related to the TZ data vanguard/rearguard issue?

Yoshito replied in an email thread:

the root cause might be introduced when I uploaded 2018i data.

 

In short, ZoneParser was written by Mark long time ago. It no longer match what CLDR expects since several years ago.

 

See - http://cldr.unicode.org/development/updating-codes/update-for-timezone-changes

 

I don't think we use any outputs from ZoneParser in CLDR, but I thought Mark/John wanted to keep it as is.

Now, it looks ZoneParser is suffered by negative DST offset.

xpath

None

locale

None

Priority

blocker

Assignee

Yoshito Umaoka

Reporter

Markus Scherer

Reviewer

Markus Scherer

Labels

None

Components

Fix versions

phase

rc
Configure