[tz] Interfaces (was Re: Issues with pre-1970 information in TZDB)
Murray S. Kucherawy
superuser at gmail.com
Thu Sep 23 06:15:50 UTC 2021
On Wed, Sep 22, 2021 at 3:08 PM Stephen Colebourne <scolebourne at joda.org>
> The subtlety is in how the data set is consumed. While many downstream
> projects use the makefile, not all do. A significant portion of
> downstream users make use of the source files directly, with their own
> parsers. ie. there is no ability to use a compile-time option. Those
> parsers are not setup to use backzone even if it were a valid option
> (Tom Lane has indicated how you can't reverse engineer the 2021a data
> cleanly from backzone as it is mixed with lots of other historic data
> that has been similarly abandoned). Even if the parsers were to be
> updated (and in the case of CLDR's backwards compatibiilty it is not
> clear that they can), it is not appropriate to have to make the change
> without a significant notice period.
I had a feeling this was the answer.
I think this warrants a critical question: What is the intended interface
to the data? If the intent of the coordinators/maintainers is that
consumers will use the compiled version, then one could argue that those
consuming the data directly do so at their own risk, because that interface
isn't expressly supported. If so, it would be a layering violation to read
the files directly.
But maybe this was never specified, and the interface applications are to
use is thus ambiguous (i.e., they have a choice), and it's possibly too far
along now to compel them to change.
If the community does choose to undertake a revision of RFC 6557, this
might be one of the things that should be reviewed and codified.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tz