On 2025-11-03 13:10, Guillermo Rodriguez Garcia wrote:
El lun, 3 nov 2025 a las 21:07, Brian Inglis via tz escribió:
On 2025-11-03 11:23, Paul Gilmartin via tz wrote:
> On 11/2/25 03:11, Guillermo Rodriguez Garcia via tz wrote:
>> So, the question: Any suggestions on how to filter timezones within
>> each country to drop those that as of today are not relevant except
>> for historical differences?
Use zonenow.tab rather than zone{,1970}.tab.
No. This does not meet the first of my two requirements.
> The last line of each timezone definition appears to contain the current
> POSIX definition. (I don't know where this is documented.)
"Version 2 format" in tzfile(5)
> If those lines are identical, might zones be merged?
That could be one possible approach, but would need to be checked.
Another might be to compare all tzdata fields.
In any case this is the part of the problem I have solved already. The missing
bit is how to pick the winner when merging.
Population is the criterion for preferring identifiers - see:
https://data.un.org/Data.aspx?d=POP&f=tableCode:240
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry