]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[contrib/timezone-gen] Fix timezone gen (#2215)
authorDouglas Vought <doug@vought.co>
Tue, 5 Sep 2023 20:11:01 +0000 (16:11 -0400)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2023 20:11:01 +0000 (23:11 +0300)
commit07f192ca03b609ab6b498490e29d849c2bf4946a
treecf0538f404bde74ed38448031fc4863725ed6554
parent0df47beebe37b6ffed1ede8a9fcabb80e9e3317a
[contrib/timezone-gen] Fix timezone gen (#2215)

* [contrib/timezone-gen] Move timezone-gen.pl to own folder

* [contrib/timezone-gen] Add fixTzstr

* [contrib/timezone-gen] Add tests and zone data getter
 - tests.pl can be used to verify that the generated timezone conf
   will produce the correct datetimes by testing them against
   what the system's `date` says
 - build-zonedata.pl will download the latest tzdb data and build
   the posix timezone data files. It only builds what is needed
   rather than adding extraneous "right/" and "posix/" timezones.
   FreeSWITCH doesn't seem to be able to use the "right/"
   timezone files.
 - data/ is where the various files needed to generate the
   timezones gets stored
scripts/perl/timezones/build-zonedata.pl [new file with mode: 0755]
scripts/perl/timezones/data/.gitignore [new file with mode: 0644]
scripts/perl/timezones/fix-tzstr.pl [new file with mode: 0644]
scripts/perl/timezones/tests.pl [new file with mode: 0644]
scripts/perl/timezones/timezone-gen.pl [moved from scripts/perl/timezone-gen.pl with 90% similarity]