Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: y_satou70 on April 03, 2023, 12:43:18 AM

Title: request to update tzdata.tcz
Post by: y_satou70 on April 03, 2023, 12:43:18 AM
Can we have updated tzdata.tcz with current latest timezone database version 2023c (Released 2023-03-28)  ?
ref: https://www.iana.org/time-zones

We are seeing our Mexico located instance is showing wrong time by setting "TZ=America/Mexico_City", as Mexico will no longer observe DST after 2022.
This update was imported to tzdata 2022f, although current production 13.x (and forthcoming 14.x) tzdata.tcz is still version 2020f
http://repo.tinycorelinux.net/13.x/x86_64/tcz/tzdata.tcz.info
http://repo.tinycorelinux.net/14.x/x86_64/tcz/tzdata.tcz.info

Thanks!
Title: Re: request to update tzdata.tcz
Post by: jazzbiker on April 03, 2023, 01:47:23 AM
Hi y_satou70,

Since I started using TinyCore I'm happily using "tz=" bootcode. What are the benefits of using time zones named according to the committee's wishes? Not ranting, really don't know.

Have a nice Core!
Title: Re: request to update tzdata.tcz
Post by: Juanito on April 03, 2023, 06:05:43 AM
You could pm the tzdata extension maintainer @andyj and request an update.
Title: Re: request to update tzdata.tcz
Post by: y_satou70 on April 03, 2023, 07:43:12 AM
Since I started using TinyCore I'm happily using "tz=" bootcode.
What are the benefits of using time zones named according to the committee's wishes?

The system which we use TinyCore, previously we use tz=.... in boot option, but gave up to track each country's daylight saving time status... such as when DST start/end (different between US and Europe), some area not using DST anymore (like this case in Mexico but this is not whole area in the country, some areas in Mexico still use DST - ref: https://en.wikipedia.org/wiki/Time_in_Mexico), or complicated and frequently change like Brazil (ref: https://en.wikipedia.org/wiki/Daylight_saving_time_in_Brazil)

So we switched to use IANA timezone database, and using "TZ=region/town-name" env var on user land to show local time on GUI, to simplify our maintenance.
Title: Re: request to update tzdata.tcz
Post by: jazzbiker on April 03, 2023, 09:33:01 AM
So we switched to use IANA timezone database, and using "TZ=region/town-name" env var on user land to show local time on GUI, to simplify our maintenance.

Looks like in the situations of this kind (depending on some externally provided data) the best solution may be creating tzdata_getlatest.tcz extension.
Title: Re: request to update tzdata.tcz
Post by: andyj on April 03, 2023, 02:35:15 PM
I'm getting to it, it's just going to take a little bit to get my dev VM running 14 first.