Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2015 00:27:35 +0530
From:      Harsh Arya <talktheharsh@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   creating compiled TZ database from a posix timezone expression
Message-ID:  <CAAjXWrB51HkTsrGW1PC1ST=ZsxJV7cUqB=R4MC7VyvVi=Hh=RQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAjXWrB51HkTsrGW1PC1ST=ZsxJV7cUqB=R4MC7VyvVi=Hh=RQ>