- updated to 1.63
see /usr/share/doc/packages/perl-DateTime/Changes
1.63 2023-10-22
- This release is the same as 1.62. This releases fixes quadmath builds on
Windows. Reported by @sisyphus. GH #139.
1.62 2023-09-04 (TRIAL RELEASE)
- This is take 3 of trying to use `Perl_isfinite` where it's available. Now we
simply don't use it on Windows unless the Perl version is 5.22.0 or later.
1.61 2023-09-02 (TRIAL RELEASE)
- Fix use of the `Perl_isfinite` function on platforms where this is
broken. On Windows with Perl <= 5.20, it seems like `Perl_isfinite` exists
but it calls `Perl_isinf` and `Perl_isnan`, which don't exist.
1.60 2023-08-19 (TRIAL RELEASE)
- Switched to using the `Perl_isfinite` function instead of trying to
implement this ourselves in XS code. This should fix quadmath builds on
Windows. Reported by @sisyphus. GH #139.
OBS-URL: https://build.opensuse.org/request/show/1120567
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=110
- updated to 1.57
see /usr/share/doc/packages/perl-DateTime/Changes
1.57 2022-03-03
- The last release would die if Sub::Util was not available, but this should
just be an optional requirement. Fixed by Paul Howarth. GH #131.
- This is the second time I've introduced this bug, so now there's a test to
make sure that DateTime can be loaded if Sub::Util is not
installed. Hopefully this will prevent a third occurrence of this bug.
OBS-URL: https://build.opensuse.org/request/show/959384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=104
- updated to 1.43
see /usr/share/doc/packages/perl-DateTime/Changes
1.43 2017-05-29
- Added a small optimization for boolification overloading. Rather than
relying on a fallback to stringification, we now return true directly, which
is a little faster in cases like "if ($might_be_dt) { ... }".
- The datetime() method now accepts a single argument to use as the separate
between the date and time portion. This defaults to "T".
- updated to 1.42
see /usr/share/doc/packages/perl-DateTime/Changes
1.42 2016-12-25
- The DateTime::Duration->add and ->subtract methods now accept
DateTime::Duration objects. This used to work by accident, but this is now
done intentionally (with docs and tests). Reported by Petr Pisar. GitHub
#50.
1.41 2016-11-16
- The DateTime->add and ->subtract methods now accept DateTime::Duration
objects. This used to work by accident, but this is now done intentionally
(with docs and tests). Based on PR #45 from Sam Kington.
1.40 2016-11-12
OBS-URL: https://build.opensuse.org/request/show/500295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=76
- updated to 1.03
- The set_time_zone() method was not returning the object when caalled with a
name that matched the current zone. Reported by Noel Maddy. RT #84699.
- When a constructor method like new() or today() was called on an object,
you'd get an error message like 'Can't locate object method
"_normalize_nanoseconds" via package "2013-04-15T00:00:00"'. This has been
fixed to provide a sane error message. Patch by Doug Bell.
- When set_time_zone() is called with a name that matches the current time
zone, DateTime now short circuits and avoids a lot of work. Patch by Mark
Stosberg.
- Fixed test failures on older Perls.
- Bumped the version to 1.00. This is mostly because my prior use of both X.YY
and X.YYYY versions causes trouble for some packaging systems. Plus after 10
years it's probably ready to be called 1.00. Requested by Adam. RT #82800.
- The %j specifier for strftime was not zero-padding 1 and 2 digit
numbers. Fixed by Christian Hansen. RT #84310.
- The truncate method was sloppy about validating its "to" parameter, so you
could pass things like "years" or "month whatever anything goes". The method
would accept the parameter but then not actually truncate the object. RT
#84229.
- Previously, if a call to $dt->set_time_zone() failed it would still change
the time zone of the object, leaving it in a broken state. Reported by Bill
Moseley. RT #83940.
OBS-URL: https://build.opensuse.org/request/show/177336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=46
* All the constructors besides new() ended up calling new(), which meant that
these constructors went through the parameter validation code
twice. Avoiding this should make everything that constructs a new object
(besides new() itself) a little faster.
* The t/39no-so.t test failed for some people. I can't reproduce it, but this
release will hopefully fix the problem. Patch by Tokuhiro Matsuno. RT
#62061.
* Added a section on the DateTime Project ecosystem to the docs. Addresses RT
#60930.
* Fixed wiki links in the docs now that the wiki has moved to a new wiki
platform.
* Restored some of the dzil-ification. The repo now has a very minimal
Build.PL file which is just enough to build the XS code and run the
tests. This fixes the total lack of prereqs in the META.* files. Reported by
Bjørn-Olav. RT #62427.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=17