r67861 - in /trunk/librose-datetime-perl: Changes META.yml debian/changelog lib/Rose/DateTime.pm lib/Rose/DateTime/Util.pm

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Tue Jan 25 21:32:06 UTC 2011


Author: periapt-guest
Date: Tue Jan 25 21:31:59 2011
New Revision: 67861

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67861
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/lib/Rose/DateTime/Util.pm

Modified: trunk/librose-datetime-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/Changes?rev=67861&op=diff
==============================================================================
--- trunk/librose-datetime-perl/Changes (original)
+++ trunk/librose-datetime-perl/Changes Tue Jan 25 21:31:59 2011
@@ -1,3 +1,7 @@
+0.535 (01.24.2010) - John Siracusa <siracusa at gmail.com>
+
+    * Handle pre-0.4 version of DateTime::Locale.  (RT 65070)
+
 0.534 (03.22.2010) - John Siracusa <siracusa at gmail.com>
 
     * Updated to avoid calling methods that were deprecated in

Modified: trunk/librose-datetime-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/META.yml?rev=67861&op=diff
==============================================================================
--- trunk/librose-datetime-perl/META.yml (original)
+++ trunk/librose-datetime-perl/META.yml Tue Jan 25 21:31:59 2011
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Rose-DateTime
-version:            0.534
+version:            0.535
 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=67861&op=diff
==============================================================================
--- trunk/librose-datetime-perl/debian/changelog (original)
+++ trunk/librose-datetime-perl/debian/changelog Tue Jan 25 21:31:59 2011
@@ -1,8 +1,9 @@
-librose-datetime-perl (0.534-3) UNRELEASED; urgency=low
+librose-datetime-perl (0.535-1) UNRELEASED; urgency=low
 
   * Added myself to Uploaders
+  * New upstream release
 
- -- Nicholas Bamber <nicholas at periapt.co.uk>  Tue, 25 Jan 2011 21:24:05 +0000
+ -- Nicholas Bamber <nicholas at periapt.co.uk>  Tue, 25 Jan 2011 21:27:11 +0000
 
 librose-datetime-perl (0.534-2) unstable; urgency=low
 

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=67861&op=diff
==============================================================================
--- trunk/librose-datetime-perl/lib/Rose/DateTime.pm (original)
+++ trunk/librose-datetime-perl/lib/Rose/DateTime.pm Tue Jan 25 21:31:59 2011
@@ -2,7 +2,7 @@
 
 use strict; # ha
 
-our $VERSION = '0.534';
+our $VERSION = '0.535';
 
 1;
 

Modified: trunk/librose-datetime-perl/lib/Rose/DateTime/Util.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/lib/Rose/DateTime/Util.pm?rev=67861&op=diff
==============================================================================
--- trunk/librose-datetime-perl/lib/Rose/DateTime/Util.pm (original)
+++ trunk/librose-datetime-perl/lib/Rose/DateTime/Util.pm Tue Jan 25 21:31:59 2011
@@ -57,8 +57,12 @@
 
   my $locale_class = DateTime::Locale->load(DateTime->DefaultLocale);
 
-  my $short = $locale_class->date_format_short;
-  
+  # Fall back to the older (pre-0.4) DateTime::Locale API
+  my $short = 
+    $locale_class->can('date_format_short') ?
+      $locale_class->date_format_short :
+      $locale_class->short_date_format;
+
   $short =~ tr{dmyDMY}{}cd;
   $short =~ tr{dmyDMY}{dmydmy}s;
 




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