| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-DateTime | Distribution: openSUSE Step 15 |
| Version: 1.45 | Vendor: openSUSE |
| Release: 1.1 | Build date: Tue Feb 2 12:24:04 2021 |
| Group: Development/Libraries/Perl | Build host: armbuild24 |
| Size: 367953 | Source RPM: perl-DateTime-1.45-1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: http://search.cpan.org/dist/DateTime/ | |
| Summary: Date and Time Object for Perl | |
DateTime is a class for the representation of date/time combinations, and is part of the Perl DateTime project. For details on this project please see http://datetime.perl.org/. The DateTime site has a FAQ which may help answer many "how do I do X?" questions. The FAQ is at http://datetime.perl.org/wiki/datetime/page/FAQ. It represents the Gregorian calendar, extended backwards in time before its creation (in 1582). This is sometimes known as the "proleptic Gregorian calendar". In this calendar, the first day of the calendar (the epoch), is the first day of year 1, which corresponds to the date which was (incorrectly) believed to be the birth of Jesus Christ. The calendar represented does have a year 0, and in that way differs from how dates are often written using "BCE/CE" or "BC/AD". For infinite datetimes, please see the DateTime::Infinite module.
Artistic-2.0
* Sat Dec 30 2017 coolo@suse.com
- updated to 1.45
see /usr/share/doc/packages/perl-DateTime/Changes
1.45 2017-12-29
1.45 2017-12-26
- Added month_length(), quarter_length() and year_length()
methods. Implemented by Dan Stewart. PR #70.
* Tue Aug 22 2017 coolo@suse.com
- updated to 1.44
see /usr/share/doc/packages/perl-DateTime/Changes
1.44 2017-08-20
- Added a stringify() method. This does exactly the same thing as
stringification overloading does. GH #58.
- Added an is_last_day_of_month() method to indicate whether or not an object
falls on the last day of its month. GH #60.
* Tue May 30 2017 coolo@suse.com
- 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".
* Thu May 25 2017 coolo@suse.com
- 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
- Switched from RT to the GitHub issue tracker.
1.39 2016-09-17
- Bump minimum required Perl to 5.8.4 from 5.8.1. Looking at CPAN Testers,
this distro hasn't actually passed with earlier Perl versions since
1.35. I'm not explicitly testing with anything earlier than 5.8.8
1.38 2016-09-16
- This release includes changes from past trial releases to switch from
Params::Validate and Params::ValidationCompiler. Relevant release notes from
those trial releases are repeated here for clarity.
- Replaced Params::Validate with Params::ValidationCompiler and Specio. In my
benchmarks this makes constructing a new DateTime object about 14%
faster. However, it slows down module load time by about 100 milliseconds
(1/10 of a second) on my desktop system with a primed cache (so really
measuring compile time, not disk load time).
- When you pass a locale to $dt->set you will now get a warning suggesting you
should use $dt->set_locale instead. The previous trial releases didn't allow
locale to be passed at all, which broke a lot of modules. I've sent PRs, but
for now the parameter should be allowed (but discouraged). Reported by
Slaven Rezić. RT #115420.
- Removed the long-deprecated DateTime->DefaultLanguage method. Use
DefaultLocale instead.
- Removed the long-deprecated "language" constructor parameter. Use "locale"
instead.
1.37 2016-08-14 (TRIAL RELEASE)
- Require the latest Params::ValidationCompiler (0.11).
* Sun Aug 07 2016 coolo@suse.com
- updated to 1.36
see /usr/share/doc/packages/perl-DateTime/Changes
1.36 2016-08-06
- Require namespace::autoclean 0.19.
1.35 2016-08-05
- Use namespace::autoclean in all packages which import anything. Without
cleaning the namespace, DateTime ends up with "methods" like try and catch
(from Try::Tiny), which can lead to very confusing bugs. Reported by Mischa
Schwieger. RT #115983.
* Thu Jul 07 2016 coolo@suse.com
- updated to 1.34
see /usr/share/doc/packages/perl-DateTime/Changes
1.34 2016-07-06
- Added the leap second coming on December 31, 2016.
* Mon Jul 04 2016 coolo@suse.com
- updated to 1.33
see /usr/share/doc/packages/perl-DateTime/Changes
1.33 2016-06-29
- Fixed the $dt->set docs to say that you cannot pass a locale (even though
you can but you'll get a warning) and added more docs for $dt->set_locale.
- Require DateTime::Locale 1.05.
- Require DateTime::TimeZone 2.00.
1.32 2016-06-28
- This release *does not* include any of the changes in the 1.29-1.30 TRIAL
releases.
- When you pass a locale to $dt->set you will now get a warning suggesting you
should use $dt->set_locale instead. If you have DateTime::Format::Mail
installed you should upgrade to 0.0403 or later, since that module will
trigger this warning.
- Added support for $dt->truncate( to => 'quarter' ). Implemented by Michael
Conrad. GitHub #17.
1.31 2016-06-18 (TRIAL RELEASE)
- When you pass a locale to $dt->set you will now get a warning suggesting you
should use $dt->set_locale instead. The previous trial releases didn't allow
locale to be passed at all, which broke a lot of modules. I've sent PRs, but
for now the parameter should be allowed (but discouraged). Reported by
Slaven Resic. RT #115420.
1.30 2016-06-18 (TRIAL RELEASE)
- Require the latest version of Params::CheckCompiler (0.06). Tests failed
with 0.01.
1.29 2016-06-17 (TRIAL RELEASE)
- Replaced Params::Validate with Params::CheckCompiler and Specio. In my
benchmarks this makes constructing a new DateTime object about 14%
faster. However, it slows down module load time by about 100 milliseconds
(1/10 of a second) on my desktop system with a primed cache (so really
measuring compile time, not disk load time).
* Mon May 23 2016 coolo@suse.com
- updated to 1.28
see /usr/share/doc/packages/perl-DateTime/Changes
1.28 2016-05-21
- Fixed handling of some floating point epochs. Because DateTime treated the
epoch like a string instead of a number, certain epochs with a non-integer
value ended up treated like integers (Perl is weird). Patch by Christian
Hansen. GitHub #15. This also addresses the problem that GitHub #6 brought
up.
1.27 2016-05-13
- Added an environment variable PERL_DATETIME_DEFAULT_TZ to globally set the
default time zone. Using this is very dangerous! Be careful!. Patch by
Ovid. GitHub #14.
* Tue Mar 22 2016 coolo@suse.com
- updated to 1.26
see /usr/share/doc/packages/perl-DateTime/Changes
1.26 2016-03-21
- Switched from Module::Build to ExtUtils::MakeMaker. Implementation by Karen
Etheridge. GitHub #13.
* Tue Mar 08 2016 coolo@suse.com
- updated to 1.25
see /usr/share/doc/packages/perl-DateTime/Changes
1.25 2016-03-06
- DateTime->from_object would die if given a DateTime::Infinite object. Now it
returns another DateTime::Infinite object. Reported by Greg Oschwald. RT
[#112712].
1.24 2016-02-29
- The last release partially broke $dt->time. If you passed a value to use as
unit separator, this was ignored. Reported by Sergiy Zuban. RT #112585.
1.23 2016-02-28
- Make all DateTime::Infinite objects return the system's representation of
positive or negative infinity for any method which returns a number of
string representation (year(), month(), ymd(), iso8601(), etc.). Previously
some of these methods could return "Nan", "-Inf--Inf--Inf", and other
confusing outputs. Reported by Greg Oschwald. RT #110341.
1.22 2016-02-21 (TRIAL RELEASE)
- Fixed several issues with the handling of non-integer values passed to
from_epoch().
This method was simply broken for negative values, which would end up being
incremented by a full second, so for example -0.5 became 0.5.
The method did not accept all valid float values. Specifically, it did not
accept values in scientific notation.
Finally, this method now rounds all non-integer values to the nearest
millisecond. This matches the precision we can expect from Perl itself (53
bits) in most cases.
Patch by Christian Hansen. GitHub #11.
* Fri Oct 02 2015 coolo@suse.com
- updated to 1.21
see /usr/share/doc/packages/perl-DateTime/Changes
1.21 2015-09-30
- Make all tests pass with both the current DateTime::Locale and the upcoming
new version (currently still in trial releases).
1.20 2015-07-01
- The 1.18 release added the June 30, 2015 leap second to the XS code, but I
forgot to update the corresponding pure Perl implementation in
DateTime::LeapSecond.
* Sun Jun 07 2015 coolo@suse.com
- updated to 1.19
see /usr/share/doc/packages/perl-DateTime/Changes
1.19 2015-05-31
- If you compared a DateTime object to an undef value, you might have received
a warning pointing to code inside DateTime.pm, instead of in your own
code. Fixed by Jason McIntosh. GH #7.
- The 30future-tz.t could fail if run at certain very specific times. This
should now be much less likely, unless a time zone being tested implements a
DST change at noon (which would even more insane than DST already is by a
huge factor). Reported by Karen Etheridge and diagnosed by Slaven Rezic. RT
[#102925].
* Sat Feb 07 2015 coolo@suse.com
- updated to 1.18
- There will be a new leap second on June 30, 2015.
1.17 2015-01-04
- No code changes from the 1.16 release.
1.16 2015-01-04 (TRIAL RELEASE)
- Test fix for systems where IVs are 4 bytes long.
1.15 2015-01-03 (TRIAL RELEASE)
- Trying this again ... Experimental fix for adding very large numbers of
days. Previously, trying to add more than around 2^28 days could cause
errors if the result ended up in a leap year. This is being released as a
trial release because I'm not sure how this change will behave on a 32-bit
Perl. Reported by KMX. RT #97046.
1.14 2015-01-03
- Accidentally released 1.13 as a non-TRIAL release. Releasing 1.13 minus the
integer change so there's a known-safe stable release on CPAN for people to
install.
/usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime.pm /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime/Conflicts.pm /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime/Duration.pm /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime/Helpers.pm /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime/Infinite.pm /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime/LeapSecond.pm /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime/PP.pm /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime/PPExtra.pm /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/DateTime/Types.pm /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/auto/DateTime /usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi/auto/DateTime/DateTime.so /usr/share/doc/packages/perl-DateTime /usr/share/doc/packages/perl-DateTime/CONTRIBUTING.md /usr/share/doc/packages/perl-DateTime/CREDITS /usr/share/doc/packages/perl-DateTime/Changes /usr/share/doc/packages/perl-DateTime/README.md /usr/share/doc/packages/perl-DateTime/TODO /usr/share/doc/packages/perl-DateTime/appveyor.yml /usr/share/doc/packages/perl-DateTime/leaptab.txt /usr/share/licenses/perl-DateTime /usr/share/licenses/perl-DateTime/LICENSE /usr/share/man/man3/DateTime.3pm.gz /usr/share/man/man3/DateTime::Duration.3pm.gz /usr/share/man/man3/DateTime::Infinite.3pm.gz /usr/share/man/man3/DateTime::LeapSecond.3pm.gz /usr/share/man/man3/DateTime::Types.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Jul 24 20:06:31 2026