This is a discussion on Is there a perl package, or data in a form easily used by a perlscript, that can be used to determine when to change to or from daylightsavings time? - Perl ; On Nov 9, 5:27 am, "Dr.Ruud" <rvtol+n...@isolution.nl> wrote: > Ted Byers schreef: > > > Dr.Ruud: > >> Peter Wyzl: > >>> but is there some 'authorative source' of what all the different > >>> timezones are and the daylight times ...
On Nov 9, 5:27 am, "Dr.Ruud" <rvtol+n...@isolution.nl> wrote:
> Ted Byers schreef:
>
> > Dr.Ruud:
> >> Peter Wyzl:
> >>> but is there some 'authorative source' of what all the different
> >>> timezones are and the daylight times for those zones and when they
> >>> switch back and forth?
>
> >> I use DateTime::TimeZone which uses Olson. Good enough for
> >> me.http://search.cpan.org/search?query=...ne&mode=module
>
> > I have downloaded the Olson timezone data, and executed the script
> > "parse-olson.pl". It created a directory called lib that contains the
> > timezone data transformed into *.pm files in a number of directories.
> > I have perl installed in C:\Perl. Do I just copy the files and
> > folders created by parse_olson.pl into C:\Perl\site, over-writing
> > what's already there?
>
> I have no clue what you are trying to achieve, or rather mess up, so I
> can't anwer that question.
> But if you want to install specific Perl modules on a Windows system in
> a clean way, just use the latest ActiveState or the Vanilla Perl tools.
>
> --
> Affijn, Ruud
>
> "Gewoon is een tijger."
All I'm after is to make sure the timezone data I have is up to date.
I routinely use ActiveState's PPM to install packages, and I use CPAN
as a fallback option when the package I'm after isn't in a PPM
repository. The documentation for DateTime::TimeZone doesn't say
which version of the Olson data it uses, so I can't be sure it uses
the current Olson data unless someone can confirm that.
Thanks
Ted