r54661 - in /trunk/librose-datetime-perl: Changes META.yml debian/changelog debian/control lib/Rose/DateTime.pm lib/Rose/DateTime/Parser.pm lib/Rose/DateTime/Util.pm
eloy at users.alioth.debian.org
eloy at users.alioth.debian.org
Tue Mar 23 10:47:33 UTC 2010
Author: eloy
Date: Tue Mar 23 10:47:23 2010
New Revision: 54661
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=54661
Log:
new upstream version
Modified:
trunk/librose-datetime-perl/Changes
trunk/librose-datetime-perl/META.yml
trunk/librose-datetime-perl/debian/changelog
trunk/librose-datetime-perl/debian/control
trunk/librose-datetime-perl/lib/Rose/DateTime.pm
trunk/librose-datetime-perl/lib/Rose/DateTime/Parser.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=54661&op=diff
==============================================================================
--- trunk/librose-datetime-perl/Changes (original)
+++ trunk/librose-datetime-perl/Changes Tue Mar 23 10:47:23 2010
@@ -1,3 +1,8 @@
+0.534 (03.22.2010) - John Siracusa <siracusa at gmail.com>
+
+ * Updated to avoid calling methods that were deprecated in
+ DateTime::Locale version 0.44 and later.
+
0.533 (10.16.2009) - John Siracusa <siracusa at gmail.com>
* Updated eval blocks to avoid stomping on $@ from an outer scope.
Modified: trunk/librose-datetime-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/META.yml?rev=54661&op=diff
==============================================================================
--- trunk/librose-datetime-perl/META.yml (original)
+++ trunk/librose-datetime-perl/META.yml Tue Mar 23 10:47:23 2010
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Rose-DateTime
-version: 0.533
+version: 0.534
abstract: ~
author: []
license: unknown
@@ -16,7 +16,7 @@
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.54
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
Modified: trunk/librose-datetime-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/debian/changelog?rev=54661&op=diff
==============================================================================
--- trunk/librose-datetime-perl/debian/changelog (original)
+++ trunk/librose-datetime-perl/debian/changelog Tue Mar 23 10:47:23 2010
@@ -1,3 +1,10 @@
+librose-datetime-perl (0.534-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ * debian/control: update Standards-Version to 3.8.4 without any changes
+
+ -- Krzysztof Krzyżaniak (eloy) <eloy at debian.org> Tue, 23 Mar 2010 11:44:50 +0100
+
librose-datetime-perl (0.533-1) unstable; urgency=low
[ Jonathan Yu ]
Modified: trunk/librose-datetime-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/debian/control?rev=54661&op=diff
==============================================================================
--- trunk/librose-datetime-perl/debian/control (original)
+++ trunk/librose-datetime-perl/debian/control Tue Mar 23 10:47:23 2010
@@ -7,7 +7,7 @@
Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>,
Jonathan Yu <jawnsy at cpan.org>
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
Homepage: http://search.cpan.org/dist/Rose-Class/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/librose-object-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/librose-object-perl/
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=54661&op=diff
==============================================================================
--- trunk/librose-datetime-perl/lib/Rose/DateTime.pm (original)
+++ trunk/librose-datetime-perl/lib/Rose/DateTime.pm Tue Mar 23 10:47:23 2010
@@ -2,7 +2,7 @@
use strict; # ha
-our $VERSION = '0.533';
+our $VERSION = '0.534';
1;
@@ -49,4 +49,4 @@
=head1 LICENSE
-Copyright (c) 2004-2006 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
+Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Modified: trunk/librose-datetime-perl/lib/Rose/DateTime/Parser.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librose-datetime-perl/lib/Rose/DateTime/Parser.pm?rev=54661&op=diff
==============================================================================
--- trunk/librose-datetime-perl/lib/Rose/DateTime/Parser.pm (original)
+++ trunk/librose-datetime-perl/lib/Rose/DateTime/Parser.pm Tue Mar 23 10:47:23 2010
@@ -147,4 +147,4 @@
=head1 LICENSE
-Copyright (c) 2004-2006 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
+Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
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=54661&op=diff
==============================================================================
--- trunk/librose-datetime-perl/lib/Rose/DateTime/Util.pm (original)
+++ trunk/librose-datetime-perl/lib/Rose/DateTime/Util.pm Tue Mar 23 10:47:23 2010
@@ -18,7 +18,7 @@
all => \@EXPORT_OK
);
-our $VERSION = '0.533';
+our $VERSION = '0.534';
our $TZ = 'floating';
our $Debug = 0;
@@ -57,7 +57,14 @@
my $locale_class = DateTime::Locale->load(DateTime->DefaultLocale);
- if($locale_class->date_parts_order eq 'dmy')
+ my $short = $locale_class->date_format_short;
+
+ $short =~ tr{dmyDMY}{}cd;
+ $short =~ tr{dmyDMY}{dmydmy}s;
+
+ # date_parts_order() is deprecated in DateTime::Locale 0.44+
+ #if($locale_class->date_parts_order eq 'dmy')
+ if($short eq 'dmy')
{
return 1;
}
@@ -808,4 +815,4 @@
=head1 LICENSE
-Copyright (c) 2004-2006 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
+Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
More information about the Pkg-perl-cvs-commits
mailing list