2008-05-28 22:59:45 by David Brownlee | Files touched by this commit (2) |
Log message:
Updated time/p5-DateTime to 0.4302
0.4302 2008-05-20
[ BUG FIXES ]
- The 41cldr_format.t test blew up on Perl 5.6.x, because of a bug in
the test code.
0.4301 2008-05-18
[ BUG FIXES ]
- In the 0.43 release, I forgot to change the DateTime::Locale
dependency to require DT::Locale 0.40.
0.43 2008-05-18
[ *** BACKWARDS INCOMPATIBILITIES *** ]
* Dropped support for Perl 5.005.
[ ENHANCEMENTS ]
- Added support for formatting the CLDR date pattern language, which
is much more powerful than strftime. This, combined with the latest
DateTime::Locale, makes the localized output much more correct.
[ BUG FIXES ]
- The hour_1() method was returning the real hour + 1, rather than
just representing midnight as 24 instead of 0. This bug fix will
probably break someone's code.
0.42 2008-02-29
[ BUG FIXES ]
- The 17set_return.t tests failed on leap days, like today. Reported
by Duncan Ferguson. RT #33695.
|
2007-11-29 18:54:28 by Thomas Klausner | Files touched by this commit (2) |
Log message:
Update to 0.41:
0.41 2007-09-10
[ BUG FIXES ]
- The 13strftime.t test was failing when DateTime::Locale 0.35 was
installed. The test has been adjusted and we now list DT::Locale
0.35 as the minimum version. Reported by David Cantrell.
0.40 2007-08-30
[ BUG FIXES ]
- A custom formatter would be lost after a call to set() or
truncate(). Reported by Kjell-Magne Ãierud. RT #28728.
- The truncate() method docs said it accepted "second" as a parameter,
but it didn't actually do the right thing with it. Now it always
truncates nanoseconds to 0 for any parameter it is passed.
0.39 2007-07-17
[ BUG FIXES ]
- Yet more changes to how infinity is handled and tested. This passes
for me on 32-bit Win XP and 64-bit Linux, which is promising. Patch
by Yitzchak Scott-Thoennes. RT #22392.
0.38 2007-06-30
[ BUG FIXES ]
- Require Test::Pod::Coverage 1.08 in pod-coverage.t, since we use
all_modules, which was only exported as of version 1.08. Reported by
MATSUNO Tokuhiro. Fixes RT #26594.
- Fixed a bad link to the old FAQ location in the docs. Reported by
Ric Signes. Fixes RT #26846.
[ ENHANCEMENTS ]
- DateTime.pm now explicitly overloads string comparison. This was
done so that comparing a DateTime.pm object to a string returns
false, rather than throwing an exception. Reported by Chris
Dolan. Addresses RT #26085.
|
2007-10-25 18:59:59 by Johnny C. Lam | Files touched by this commit (980) |
Log message:
Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
|
2007-06-10 01:46:42 by David Brownlee | Files touched by this commit (2) |
Log message:
Updated time/p5-DateTime 0.36 -> 0.37
0.37 2007-03-30
[ BUG FIXES ]
- Require DateTime::Locale 0.34, which fixes a problem that manifested
when thawing a DateTime.pm object. See
http://www.mail-archive.com/datetime@perl.org/msg05633.html for some
discussion of this.
- Added pod coverage tests, and added some POD for undocumented
methods as a result.
[ ENHANCEMENTS ]
- This distro is now GPG-signed, per RT #24776.
|
2007-02-27 14:08:25 by Thomas Klausner | Files touched by this commit (2) |
Log message:
Update to 0.36:
0.36
[ BUG FIXES ]
- 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. See RT #17390, #19626, and
#22392.
- Require DateTime::TimeZone 0.59, which includes a similar fix.
0.35 2006-10-22
[ ENHANCEMENTS ]
- Added several new methods for getting locale-based data, era_abbr(),
era_name(), quarter_abbr(), and quarter_name(). The era() method
returns the same data as era_abbr(), but is deprecated.
0.34 2006-08-11
[ BUG FIXES ]
- DateTime's code to fall back to the pure Perl implementation was
broken in most cases, making it fairly useless. Reported by Adam
Kennedy and Brendan Gibson.
- Under Perl 5.6.2 (and presumably 5.6.x), some of the tests
mysteriously failed. I tracked this down to a weird interaction
between DateTime's string overloading and
Test::Builder->cmp_ok(). See RT 19626.
0.33 2006-08-09 (the "Asia/Kaohsiung" release)
[ ENHANCEMENTS ]
- Attempting to do an overloaded operation (add, subtract, compare)
with an inappropriate argument (like $dt + 1) gives a more useful
error message.
[ BUG FIXES ]
- The fixes in 0.30 for subtract_datetime() crossing a DST change had
a bug. When subtracting two dates, both occurring on a DST change
date, but where the dates did not cross the change, the answer was
off by an hour. Reported by Chris Prather. See RT 20697.
- Borrowed a tweak from version.pm's Makefile.PL to make compiler
detection work with MSVC.
0.32 2006-07-24
[ BUG FIXES ]
- Change how C compiler detection is done in the Makefile.PL so it
does not rely on having make on the system. The new way should work
on (most?) Unix and Win32 systems. Suggested by David Golden. See RT
18969.
0.31 2006-05-21
[ ENHANCEMENTS ]
- Switched some uses of die() to Carp::croak(), where
appropriate. This should make error messages more useful in many
cases. Based on a suggestion by Max Maischein. See RT tickets 11692
& 18728.
[ BUG FIXES ]
- Removed all uses of UNIVERSAL::isa and UNIVERSAL::can as functions.
- Tweaked 20infinite.t test to give more useful output for some
failures, though it probably doesn't fix them. See RT 17390.
|
2006-04-25 16:03:58 by Hiramatsu Yoshifumi | Files touched by this commit (2) |
Log message:
Update p5-DateTime to 0.30.
Changes from 0.27:
0.30 2005-12-22
[ ENHANCEMENTS ]
- Expanded and rewrote the docs on date math to try to explain exactly
how DateTime.pm works, and in particular cover the problems DST
introduces to various types of date math. The docs now also include
some specific recommendations on getting sane results from datetime
math.
- Added calendar_duration() and clock_duration() methods to
DateTime::Duration
- Explicitly override the stringification method for
DateTime::Infinite objects. They now stringify as whatever the IEEE
infinity and negative infinity numbers stringify to on your platform.
On Linux this is "inf" and "-inf". CPAN RT #16632.
[ BUG FIXES ]
- delta_md() and delta_days() did not always return correct values
when crossing a DST change.
- The pure Perl version of the code had a dependency ordering problem
where DateTime::LeapSecond depended on other pure Perl code that
wasn't yet available. I'm not sure how this ever worked.
- Remove mentions of leap second on 1971-12-31 from the docs, because
there was no leap second that day. Reported by Mike Schilli.
- If you added a second to a datetime that was on a leap second (like
2005-12-31T23:59:60) it got "stuck" and kept returning the same
datetime. Reported by Mike Schilli.
- Changes to the tests in 20infinite.t may fix failures seen on some
platforms and with new versions of Test::More (0.62 was known to cause
failures)
[ *** BACKWARDS INCOMPATIBILITIES *** ]
- The subtract_datetime() method switched back to using the local
portion of the date _and_ time, but it now accounts for days with DST
changes specially. This produces results that fix the bugs that were
fixed by previous subtraction changes in 0.28 and 0.29, but without
introducing even more bugs. The overall result should be sane, but
please see the docs for details.
0.2901 2005-07-04
- A leap second for the end of 2005 was announced.
0.29 2005-06-03
[ *** BACKWARDS INCOMPATIBILITIES *** ]
- When adding/subtracting a duration with months or days that crossed
a DST change, the result was based on the local time, not the UTC
time. For consistent results, it is necessary to use the UTC time
(but local date) for all date math. Reported by J. Alexander Docauer.
0.28 2005-02-27
[ ENHANCEMENTS ]
- The era names for the era() method are now retrieved from the
DateTime.pm object's associated locale. The old era() method, which
was hard-coded to use BCE and CE, is renamed secular_era(). The
christian_era() method remains the same.
[ BUG FIXES ]
- Fixed an embarassing bug in the subtract_datetime() method. It was
subtracting local times, not UTC, which caused bugs when doing
subtraction across a DST change. This method is used to implement
subtraction overloading, so that was affected as well. Reported by
Mike Schilli.
- The docs for the %U and %W strftime specifiers implied that these
should be zero-padded, but the code was not doing so. Reported by J
Docauer.
|
2005-08-06 08:19:41 by Johnny C. Lam | Files touched by this commit (634) | |
Log message:
Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
|
2005-07-13 20:01:49 by Johnny C. Lam | Files touched by this commit (578) |
Log message:
Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}. There is no change to the binary
packages.
|
2005-04-11 23:48:17 by Todd Vierling | Files touched by this commit (3539) |
Log message:
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
|
2005-02-26 02:57:28 by Thomas Klausner | Files touched by this commit (2) |
Log message:
Update to 0.27:
0.27 2005-01-31
[ ENHANCEMENTS ]
- Added local_rd_values() method for the benefit of other modules like
DateTime::Event::Recurrence.
0.26 2005-01-27
[ BUG FIXES ]
- The docs claimed that the delta_ms(), delta_md(), delta_days()
methods always returned a positive duration, but this was not true for
delta_md() or delta_days().
|