[tz] [PATCH 2/5] tzselect.ksh: regions list to inclusive
eggert at cs.ucla.edu
Sat Feb 13 07:06:57 UTC 2016
J William Piggott wrote:
> The regions list criteria was only based on
> country. This caused, for example, all of
> Australia to be listed under the regions for
> Antarctica > Australia.
Here, I think the current behavior is intended. The idea is that if one selects
(say) the United States, it's common to want to select Hawaii next, even if one
came to the United States selection via North America rather than via the
Pacific. That is, the selection is not via a tree but is via a DAG, and the
difference matters when a country crosses continental borders.
The same comment applies to the later patches that assume this one.
More information about the tz