r74612 - in /trunk/librose-datetime-perl: Changes META.yml debian/changelog lib/Rose/DateTime.pm t/basic.t

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Tue May 17 00:53:44 UTC 2011


Author: periapt-guest
Date: Tue May 17 00:53:34 2011
New Revision: 74612

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74612
Log:
New upstream release

Modified:
    trunk/librose-datetime-perl/Changes
    trunk/librose-datetime-perl/META.yml
    trunk/librose-datetime-perl/debian/changelog
    trunk/librose-datetime-perl/lib/Rose/DateTime.pm
    trunk/librose-datetime-perl/t/basic.t

Modified: trunk/librose-datetime-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/Changes?rev=74612&op=diff
==============================================================================
--- trunk/librose-datetime-perl/Changes (original)
+++ trunk/librose-datetime-perl/Changes Tue May 17 00:53:34 2011
@@ -1,3 +1,12 @@
+0.537 (05.04.2011) - John Siracusa <siracusa at gmail.com>
+
+    * Well that was fast.  DateTime 0.69 fixes RT 67928.  Tests updated.
+
+0.536 (05.03.2011) - John Siracusa <siracusa at gmail.com>
+
+    * Account for changes in DateTime 0.67 and later and work around
+      http://rt.cpan.org/Public/Bug/Display.html?id=67928
+
 0.535 (01.24.2010) - John Siracusa <siracusa at gmail.com>
 
     * Handle pre-0.4 version of DateTime::Locale.  (RT 65070)

Modified: trunk/librose-datetime-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/META.yml?rev=74612&op=diff
==============================================================================
--- trunk/librose-datetime-perl/META.yml (original)
+++ trunk/librose-datetime-perl/META.yml Tue May 17 00:53:34 2011
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Rose-DateTime
-version:            0.535
+version:            0.537
 abstract:           ~
 author:  []
 license:            unknown

Modified: trunk/librose-datetime-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/debian/changelog?rev=74612&op=diff
==============================================================================
--- trunk/librose-datetime-perl/debian/changelog (original)
+++ trunk/librose-datetime-perl/debian/changelog Tue May 17 00:53:34 2011
@@ -1,3 +1,9 @@
+librose-datetime-perl (0.537-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Nicholas Bamber <nicholas at periapt.co.uk>  Tue, 17 May 2011 01:56:56 +0100
+
 librose-datetime-perl (0.535-1) unstable; urgency=low
 
   [ Nicholas Bamber ]

Modified: trunk/librose-datetime-perl/lib/Rose/DateTime.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/lib/Rose/DateTime.pm?rev=74612&op=diff
==============================================================================
--- trunk/librose-datetime-perl/lib/Rose/DateTime.pm (original)
+++ trunk/librose-datetime-perl/lib/Rose/DateTime.pm Tue May 17 00:53:34 2011
@@ -2,7 +2,7 @@
 
 use strict; # ha
 
-our $VERSION = '0.535';
+our $VERSION = '0.537';
 
 1;
 

Modified: trunk/librose-datetime-perl/t/basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/t/basic.t?rev=74612&op=diff
==============================================================================
--- trunk/librose-datetime-perl/t/basic.t (original)
+++ trunk/librose-datetime-perl/t/basic.t Tue May 17 00:53:34 2011
@@ -478,14 +478,22 @@
   ok(1, "This system ($^O) can't handle negative epoch values");
 }
 
-$d = parse_date('1143744435.123456789');
+$d = parse_date('1143744435.123451234');
 is($d->strftime('%Y-%m-%d %H:%M:%S.%5N'), '2006-03-30 18:47:15.12345', 'Epoch vs. yyyymmdd 4');
 
 $d = parse_date('1143744435.123');
 is($d->strftime('%Y-%m-%d %H:%M:%S.%5N'), '2006-03-30 18:47:15.12300', 'Epoch vs. yyyymmdd 5');
 
 $d = parse_date('1143744435.');
-is($d->strftime('%Y-%m-%d %H:%M:%S.%5N'), '2006-03-30 18:47:15.00000', 'Epoch vs. yyyymmdd 6');
+
+if ($DateTime::VERSION >= 0.67 && $DateTime::VERSION <= 0.68)
+{
+  is($d->strftime('%Y-%m-%d %H:%M:%S.%5N'), '2006-03-30 18:47:15.0', 'Epoch vs. yyyymmdd 6');
+}
+else
+{
+  is($d->strftime('%Y-%m-%d %H:%M:%S.%5N'), '2006-03-30 18:47:15.00000', 'Epoch vs. yyyymmdd 6');
+}
 
 $d = parse_date('19800102 8pm');
 is($d->strftime('%Y-%m-%d %H:%M:%S'), '1980-01-02 20:00:00', 'yyyymmdd 1');




More information about the Pkg-perl-cvs-commits mailing list