Accepting request 242324 from devel:languages:perl

- updated to 1.10
 
 - Some tests added in 1.09 would fail on a Perl without a 64-bit
   gmtime(). Reported by Jerome Eteve. RT #95345.
 
 
 1.09   2014-05-03
 
 - A call to ->truncate( to => 'week' ) could fail but leave the object
   changed. RT #93347.
 
 - The value of ->jd() is now calculated based on ->mjd() instead of the other
   way around. This reduces floating point errors a bit when calculating MJD,
   and should have a neglible impact on the accuracy of JD. Reported by Anye
   Li. RT #92972. See the ticket for a more detailed description of what this
   fixes.
 
 - Attempting to construct a DateTime object with a year >= 5000 and a time
   zone other than floating or DST now issues a warning. This warning may go
   away once DateTime::TimeZone is made much faster. Inspired by a bug report
   from Lloyd Fournier. RT #92655.
 
 
 1.08   2014-03-11
 
 - DateTime now calls DateTime->_core_time() instead of calling Perl's time()
   built-in directly. This makes it much easier to override the value of time()
   that DateTime sees. This may make it easier to write tests for code that
   uses DateTime .

OBS-URL: https://build.opensuse.org/request/show/242324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=29
This commit is contained in:
Stephan Kulow 2014-07-25 10:27:31 +00:00 committed by Git OBS Bridge
commit 7a44c6beba
4 changed files with 38 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61605fc9c130b4819a4c6bb939d28778ee600c45645930d58bf092ff9ffea4b2
size 173961

3
DateTime-1.10.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e7fbb092c86f9f0dd284d8e2ada27f82b47d51eb5f90a04639c022064ed543d
size 179976

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Fri Jul 25 09:32:09 UTC 2014 - coolo@suse.com
- updated to 1.10
- Some tests added in 1.09 would fail on a Perl without a 64-bit
gmtime(). Reported by Jerome Eteve. RT #95345.
1.09 2014-05-03
- A call to ->truncate( to => 'week' ) could fail but leave the object
changed. RT #93347.
- The value of ->jd() is now calculated based on ->mjd() instead of the other
way around. This reduces floating point errors a bit when calculating MJD,
and should have a neglible impact on the accuracy of JD. Reported by Anye
Li. RT #92972. See the ticket for a more detailed description of what this
fixes.
- Attempting to construct a DateTime object with a year >= 5000 and a time
zone other than floating or DST now issues a warning. This warning may go
away once DateTime::TimeZone is made much faster. Inspired by a bug report
from Lloyd Fournier. RT #92655.
1.08 2014-03-11
- DateTime now calls DateTime->_core_time() instead of calling Perl's time()
built-in directly. This makes it much easier to override the value of time()
that DateTime sees. This may make it easier to write tests for code that
uses DateTime .
-------------------------------------------------------------------
Fri Mar 7 09:10:06 UTC 2014 - coolo@suse.com

View File

@ -17,7 +17,7 @@
Name: perl-DateTime
Version: 1.07
Version: 1.10
Release: 0
%define cpan_name DateTime
Summary: A date and time object
@ -34,6 +34,7 @@ BuildRequires: perl(Module::Build) >= 0.3601
BuildRequires: perl(Params::Validate) >= 0.76
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Warnings) >= 0.005
BuildRequires: perl(Try::Tiny)
Requires: perl(DateTime::Locale) >= 0.41
Requires: perl(DateTime::TimeZone) >= 1.09