TZ for Europe/Budapest

Dear all,

IMHO the TZ configuration has an error for Europe/budapest

https://openwrt.org/docs/guide-user/base-system/system_configuration

says this:

CET-1CEST,M3.5.0,M10.5.0/3

However IMHO it should be:

CET-1CEST,M3.5.0/2,M10.5.0/3 

according to EU and Hungarian regulations.

Levente

Feel free to edit the wiki -- contributions like yours are what help make and keep it valuable

As the LuCI source still contains

feeds/luci/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua:	{ 'Europe/Budapest', 'CET-1CEST,M3.5.0,M10.5.0/3' },

a note to the developer mailing list, along with a reference supporting the "correctness" of your proposal is likely to be the fastest way to get the source corrected.

In the meantime, I believe you can edit that file on your device. It looks like it is installed at /usr/lib/lua/luci/sys/zoneinfo/tzdata.lua

It comes via automatic data collection from the zoneinfo data in Ubuntu...

(I usually run the perl script, in LuCI sources /build, to collect the data for the LuCI timezone data update commit.)

Most European cities in CET timezone seem to have the same thing. Not sure, why.
And they have been that way the last 10 years, if you look at the "blame" of that tzdata file in Github

1 Like

Timezone data may have more than one Rule, the script may be using one rule instead of combining rules.

Have you looked at the simple LuCI implementation????
It simply contains the TZ string for each zone.

The update script simply pulls the TZ string from the end of the binary zoneinfo files (in the buildhost). And for some reason, at least Ubuntu seems to have the CET TZ strings this way.

If you want the whole shebang of timezone data, you can install the full zoneinfo package separately into the router, but that is rare.

Im not too concerned with timezones in a router just explaining where the error originates from