creating compiled TZ database from a posix timezone expression

Harsh Arya talktheharsh at gmail.com
Wed Oct 28 18:57:36 UTC 2015


Hi Freebsd-hackers

I want to create a compiled TZ database file from a posix expression.

Is there any unix utility which can create the TZ database out of the posix
expression?

I do check the zic command but I was not able to find a way to provide
posix expression rules as input to the zic. Is there any way to use posix
expression with zic? eg. EST5EDT,M10.3.0,M2.3.0

I need the compiled database as I want timezone to be persistent across all
the sessions so that /etc/localtime can be linked to the compiled database.

Directly setting TZ variable to posix expression will not help as it will
not be persistent over session as well after reboot.

Regards

Harsh Arya


More information about the freebsd-questions mailing list