Accepting request 368919 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/368919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2016-03-16 09:34:20 +00:00 committed by Git OBS Bridge
commit 901d13fca5
4 changed files with 53 additions and 8 deletions

View File

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

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

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

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Tue Mar 8 10:07:34 UTC 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 2 08:58:58 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-DateTime
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: perl-DateTime
Version: 1.21
Version: 1.25
Release: 0
%define cpan_name DateTime
Summary: Date and Time Object for Perl
@ -46,9 +46,9 @@ Requires: perl(Try::Tiny)
%description
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 the http://datetime.perl.org/ manpage. The DateTime site has a FAQ
which may help answer many "how do I do X?" questions. The FAQ is at the
http://datetime.perl.org/wiki/datetime/page/FAQ manpage.
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