- Updating package for p5 module DateTime::TimeZone to 0.90
Upstream changes since 0.89:
- This release is based on version 2009g of the Olson database. This
release has changes for Egypt.
- Updating package for p5 module DateTime::TimeZone to 0.89
Upstream changes:
0.89 2009-04-13
- This release is based on version 2009f of the Olson database. This
release has changes for Pakistan.
- updating package for p5 module DateTime::TimeZone to 0.88
- set license to artistic-2.0
Upstream changes:
0.88 2009-04-06
- This release is based on version 2009e of the Olson database. This
release has changes for Jordan and Palestine.
0.87 2009-04-05
- The DateTime::TimeZone::Local module will now try to load a subclass
of the form DateTime::TimeZone::Local::$^O before falling back to
the Unix subclass. This allows you to provide a new subclass on
systems where the existing subclasses (Unix, Win32, and VMS) don't
get the right answer. Based on a patch from Olivier Mengu~A(c).
0.86 2009-03-23
- This release is based on version 2009d of the Olson database. This
release has changes for Morocco, Tunisia, Syria, and Argentina.
0.85 2009-03-16
- This release is based on version 2009c of the Olson database. The
only changes in this release are for Cuba.
- Fixes for Win32 with Microsoft's December time zone update. This
updated added a zone for Mauritius that wasn't accounted for in the
DateTime::TimeZone::Local::Win32 module. Reported by David
Pinkowitz. RT #43535.
- Added a hack to fix some brokenness with Module::Build::Compat that
causes the compatibility Makefile.PL to fail on really old
ExtUtils::MakeMaker versions (6.17 and older). RT #43605.
Upstream changes:
0.84 2009-01-21
- This release is based on version 2009a of the Olson
database. Changes include spelling "Katmandu" as "Kathmandu" (with a
link for the old spelling), fixes for historical rules in
Switzerland, and changes to America/Resolute and Cuba for the past
few years (but not present).
- If DateTime::TimeZone::Local could not load its OS-specific subclass
because of a missing dependency, it would silently fall back on
loading the Unix subclass, rather than throwing an error. RT #41305.
- Fixed a bug where the short names for some time zones were
wrong. This mostly (exclusively?) manifested in time zone rules for
the first half of the 20th century or so.
Upstream changes:
0.8301 2008-11-07
- Test fixes only. The 19local-win32 tried to skip tests when they're
run without write access to the registry, but this was done in a
very broken way.
0.83 2008-10-27
- This release is based on version 2008h of the Olson database. The
major changes in this release are for Argentina.
- Updated the docs on how the local time zone is determined for
various platforms.
0.82 2008-10-13
- This release is based on version 2008h of the Olson database. The
major changes in this release are for Mauritius and Syria.
0.81 2008-10-06
- This release is based on version 2008g of the Olson database. The
major changes in this release are for Brazil.
0.80 2008-09-15
- This release is based on version 2008f of the Olson database. The
major changes in this release are for Mauritius, Morocco, Pakistan,
Argentina, and Brazil.
0.7904 2008-08-30
- Added three more Windows time zone names to the Windows -> Olson
mapping. This should fix test failures on up-to-date Windows
boxes. Patch by David Pinkowitz. RT #38735.
0.7903 2008-08-22
- The DateTime::TimeZone->names_in_country() method was broken when
called as a method. Reported by Lars Eggert. RT #38665.
0.7902 2008-08-18
- Fixed a lingering reference to DT::TimeZoneCatalog, which broke
t/15catalog.t on fresh installs.
0.7901 2008-08-18
- This distro now provides the CET, EET, MET, and WET zones. These are
provided by the Olson database for backwards compatibility. It's
probably a bad idea to use them, but it's best if this package
matches what a Unix system provides.
- Moved the catalog to DateTime::TimeZone::Catalog, which now has some
POD that lists all the available zones.
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
Pkgsrc changes:
o Changed MAINTAINER to pkgsrc-users@ as per communication with maintainer
Upstream changes:
0.79 2008-07-29
- This release is based on version 2008e of the Olson database. The
major changes in this release are for Mauritius and Central Europe
(historical changes only).
- Fixes for the local TZ tests on Win32. Thanks to David Pinkowitz for
pointing out my mistake.
0.78 2008-07-12
- This release is based on version 2008d of the Olson database. The
major changes in this release are for Mauritius and Brazil (which
now has a new America/Santarem zone).
0.7701 2008-06-03
- Many fixes and improvements to the tests for local time zone
handling on Windows. Based on a patch from David Pinkowitz.
* There are no code changes in this release besides these test
changes.
0.77 2008-05-27
- This release is based on version 2008b of the Olson database. The
major changes in this release are for Morocco, Mongolia, and
Pakistan.
- More Windows changes from David Pinkowitz. Determining the local
time zone on a Win32 system should now work regardless of the
system's locale. Previously it only worked for English language
systems. RT #36201.
0.76 2008-05-18
* Dropped support for Perl 5.005.
- Made the Win32 local time zone bits work on Vista and Server
2008. Patch by David Pinkowitz. RT #35733.
0.75 2008-04-25
- A stray STORABLE_attach method in DT::TZ::Floating caused freezing
and thawing a floating timezone with Storable to fail
badly. Reported by Kostas Chatzikokolakis.
- Changed the local time zone detection on Win32 to only require read
access to the registry. Patch by David Pinkowitz. RT #35273.
0.74 2008-03-24
- This release is based on version 2008b of the Olson database. The
major changes in this release are for San Luis in Argentina, Cuba,
Iraq, and Syria.
0.73 2008-03-08
- The DT::TZ::Local::VMS module declared its package as
DateTime::TimeZone::Local::Win32, which clearly is not
right. Patched by Peter Prymmer.
- This release is based on version 2008a of the Olson database. The
major changes in this release are for Argentina and Chile,
0.72 2007-12-31
- This release is based on version 2007j of the Olson database. The
major changes in this release are for Argentina.
0.71 2007-12-28
- Fixes a major bug in the generation of time zone data. This bug
affected any time zone that has more than one rule (most of them)
and currently has no DST changes (many of them). An example would be
America/Caracas. The symptom would either be mistakes about the
current time zone or bogus exceptions when trying to create a local
date. Reported by Éric Cholet.
0.70 2007-12-03
- This release is based on version 2007j of the Olson database. There
is one major change in this release, for the new Venezuelan time
zone.
0.6904 2007-11-09
- Updated the Windows -> Olson conversion table, though it's still
English-only. Added some more Win32 tests to hopefully help diagnose
a test failure report from a Win32 tester.
0.6903 2007-11-08
- The Win32::TieRegistry prereq was requiring version 1.0, which
doesn't exist. I meant to require just any version. Reported by
CJM. RT #30580.
- No code changes in this release.
0.6902 2007-11-05
- Fixed many sloppy uses of eval blocks which would leave $@ set after
calling various DT::TZ methods/functions. This could cause unrelated
error checking to find $@ set to something and log an error or
die. Reported by Kat.
0.6901 2007-11-02
- Add Win32::TieRegistry to our prereqs if we're on Win32. Reported by
Ruud H.G. van Tol.
0.69 2007-11-01
- This release is based on version 2007i of the Olson database, which
includes changes to Cuba and Syria.
0.68 2007-10-01
- This release is based on version 2007h of the Olson database, which
includes changes to Egypt, Iran, Palestine, Brazil, and Venezuela.
0.67 2007-08-20
- This release is based on version 2007g of the Olson database, which
includes changes to Egypt, Antarctica, Australia, and Indiana (Perry
County).
0.6603 2007-07-07
- The DateTime::TimeZone->names_in_country() method returned the wrong
thing in scalar context. Instead of a simple array reference, it
returned a reference to an array reference. Reported by John
O'Rourke. RT #27843.
0.6602 2007-05-29
- There was a bug in the 04local.t tests that did not manifest itself
on my dev machine, but would've been seen on any machine with an
/etc/default/init file. Reported by Jonathan Leffler.
0.6601 2007-05-08
- 0.66 screwed up the test count in 04local.t if certain tests were
skipped. Reported by David Precious.
0.66 2007-05-07
- This release is based on version 2007f of the Olson database, which
includes Haiti, Turks and Caicos Islands, and New Zealand.
- If /etc/localtime is a symlink, but trying to follow that link does
not find a zone name, fall back to trying to find a matching file in
/usr/share/zoneinfo. RT #26438.
- Require Cwd 3.0+, since Cwd;:abs_path() in older versions does not
following a chain of symlinks.
0.6501 2007-04-22
- The test for the new symlink handling could fail on some systems
(notably OSX). Reported by Randal Schwartz.
0.65 2007-04-21
- Handle cases where /etc/localtime is a symlink pointing to another
symlink (and so forth) by using Cwd::abs_path() instead of
readlink(). Fixes RT #26438.
- When creating an Olson time zone object, DT::TZ will now check to
see if the object being loaded is from an older version of the Olson
catalog than the current version of DT::TZ and issue warning if this
is the case. This is useful because obsolete module files may exist
when a zone name is replaced by a link, or just retired entirely.
0.64 2007-04-02
- This release is based on version 2007e of the Olson database
(changes in the Syria and Honduras time zones).
0.63 2007-03-20
- This release is based on version 2007d of the Olson database.
- Fix determination of local time zone on systems where /etc/localtime
is a symlink. This broke in 0.61. Reported by Bradley C Bailey. RT
#25348.
0.62 2007-02-26
- This release is based on version 2007c of the Olson database.
0.6101 2007-02-18
- Fixes a major bug in 0.61. Passing "local" as a time zone new to
DateTime::TimeZone->new() caused a fatal error.
0.61 2007-02-18
- Lots of internal changes in the code used to determine a system's
local time zone.
- As a result, we now have a much better method for doing this on
Windows systems, by looking at the registry. See
DateTime::TimeZone::Local::Win32 for details.
0.60 2007-02-13
- This release is based on version 2007b of the Olson database.
0.59 2007-01-18
- When trying to find the local timezone for a machine based on
/etc/localtime, ignore /usr/share/zoneinfo/posixrules. This fixes a
bug seen on FreeBSD 6.2. Reported by . RT #24026.
- For infinity, use 100 ** 1000 instead of 100 ** 100 ** 100. This may
fix the problems with infinity on some platforms (or may
not). Suggested by Bjorn Tackmann.
0.58 2007-01-08
- This release is based on version 2007a of the Olson database.
0.57 2006-11-27
- This release is based on version 2006p of the Olson database.
0.56 2006-11-16
- Really fix the sorting of names_in_country(). Patch by Tatsuhiko
Miyagawa.
- Allow names like "JST-9" and "GMT+0" in $ENV{TZ} when trying to find
the local time zone. Reported by Tatsuhiko Miyagawa.
0.55 2006-11-06
- This release is based on version 2006o of the Olson database.
0.54 2006-10-25
- Got rid of the STORABLE_attach methods. This was causing bugs when
trying to freeze/thaw a DateTime.pm object, and I realized that
because of how the DT::TimeZone internals work, there's not much
gained by using STORABLE_attach instead of STORABLE_freeze. Even
with STORABLE_freeze, the core data structures for a timezone are
still shared.
0.53 2006-10-24
- Freezing and thawing a DT::TimeZone::OffsetOnly object was broken in
0.52 (and probably earlier versions as well). Reported by Tatsuhiko
Miyagawa.
- Freezing and thawing a DT::TimeZone::Floating object was also broken.
0.52 2006-10-22
- The names_in_country() method no longer sorts the zone
names. Instead, it returns them in order from most- to
least-populated.
- Added a STORABLE_attach method for integration with newer versions
of Storable which provide better support for singletons.
- Made offset_as_seconds() and offset_as_string() work as class
methods, since the docs say they should. Reported by Tatsuhiko
Miyagawa.
0.51 2006-10-13
- Added two new catalog-related functions, countries() and
names_in_country(). Using these functions allows you to map ISO3066
country codes to the time zones used in that country. Based on code
by Tatsuhiko Miyagawa.
0.50 2006-10-10
- This release is based on version 2006n of the Olson database.
0.49 2006-10-02
- This release is based on version 2006m of the Olson database.
0.48 2006-09-18
- This release is based on version 2006l of the Olson database.
- Fix finding of local time zone when there is a $SIG{__DIE__} handler
in effect. The handler broke the internal use of exceptions in one
of DateTime::TimeZone::Local's methods. Reported by JD Hedden. RT
#20982.
0.47 2006-08-22
- This release is based on version 2006j of the Olson database.
- Added a link to Asia/Tokyo for the "JST-9" timezone. According to
Kenichi Ishigaki this is a TZ env var setting commonly used in
Japan.
- Some links in the Olson data pointed to other links, or pointed to
non-existent zone names. These have been fixed so that all links
resolve to valid zones, and this is now part of the test suite.
0.46 2006-05-08
- This release is based on version 2006g of the Olson database.
0.45 2006-05-01
- This release is based on version 2006f of the Olson database.
Changes from 0.42:
0.44 2006-04-17
- This release is based on version 2006d of the Olson database.
0.43 2006-04-13
- This release is based on version 2006c of the Olson database.
- Added a link for AKST9AKDT (to America/Anchorage).
0.42 2006-02-20
- This release is based on version 2006b of the Olson database.
0.41 2006-01-31
- This release is based on version 2006a of the Olson database.
0.40 2005-12-27
- This release is based on version 2005r of the Olson database. This
includes the latest Canadian changes to match the recent US changes.
Also note that as of this version several zones which used to be
links, including "EST", "MST", and "CST6DST", are now separate zones.
0.39 2005-06-05
- This release is based on version 2005o of the Olson database.
0.3801 2005-11-24 the "not turkey day" release
- The last release included some generated modules for old zones (like
Europe/Belfast) which are now links to existing zones. These modules
referenced the non-existent DateTime::TimeZone::Singleton module.
Reported by Rafael Garcia-Suarez.
0.38 2005-11-21
- Trying to create a DateTime object during DST exactly 11 years in
the future (really, 1 year after the end of the pre-generated TZ
change data that ships in the package) cause an error. Reported by
Daniel B Boorstein.
- This release is based on version 2005n of the Olson database.
- Added a new method, has_dst_changes(), which indicates whether a
given zone has any DST changes.
0.37 2005-08-22
- Make sure that provided time zone names are valid, because
DateTime::TimeZone uses them in an eval. If you were passing
user-provided data directly to DateTime::TimeZone->new, someone could
give a string like "America/Chicago; system 'rm -rf /';", which would
be bad. Reported by Matthew Reilly.
- Made it possible to call catalog-related functions as methods.
- This release is based on version 2005i of the Olson database. This
include some major changes coming up in the US as a whole in 2007,
along with other changes for just Indiana.
0.36 2005-04-21
- This release is based on version 2005i of the Olson database.
0.35 2005-03-15 the "I hate this dope" release
- This release is based on version 2005g of the Olson database.
- STORABLE_thaw() now returns $self in preparation for proposed
changes to Storable.
0.34 2005-03-11
- Some time zone short names were incorrectly being given as something
like "GMT/BST", when it should have been alternating between GMT and
BST based on the daylight saving time. Reported by Tom Yandell.
- This release is based on version 2005f of the Olson database.
0.33 2005-02-26
- This release is based on version 2005e of the Olson database.
- When trying to determine the local time zone, if /etc/localtime is a
file, make sure that matching file in /usr/share/zoneinfo is not a
symlink.
Packages Collection.
The DateTime::TimeZone modules provide a Perl interface to the Olson
time zone database. Rather than using the database directly, we parse
the database files and turn them into a set of modules, one for each
time zone defined. This allows for various optimizations in doing
time zone calculations. This conversion is done with the script in
tools/parse_olson.
The Olson time zone database is the best available source for world
wide time zone information. It is available from
ftp://elsie.nci.nih.gov/pub/. A good starting point for information
on the database, and time zones in general, is
http://www.twinsun.com/tz/tz-link.htm.