Hello community,

here is the log from the commit of package perl-DateTime for openSUSE:Factory 
checked in at 2018-02-16 21:38:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DateTime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DateTime"

Fri Feb 16 21:38:24 2018 rev:44 rq:577367 version:1.46

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-DateTime/perl-DateTime.changes      
2018-01-09 14:34:53.871279403 +0100
+++ /work/SRC/openSUSE:Factory/.perl-DateTime.new/perl-DateTime.changes 
2018-02-16 21:38:26.608568044 +0100
@@ -1,0 +2,12 @@
+Mon Feb 12 11:37:20 UTC 2018 - [email protected]
+
+- updated to 1.46
+
+  1.46   2018-02-11
+
+  - Fixed the formatting for the CLDR "S" symbol. It could in some cases round
+    _up_ to 1 instead of truncating a value. For example, the "SSS" symbol 
would
+    format 999,999,999 nanoseconds as "1.000". Fixed by Gianni Ceccarelli. PR
+    #71.
+
+-------------------------------------------------------------------

Old:
----
  DateTime-1.45.tar.gz

New:
----
  DateTime-1.46.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-DateTime.spec ++++++
--- /var/tmp/diff_new_pack.yUPAma/_old  2018-02-16 21:38:27.588532666 +0100
+++ /var/tmp/diff_new_pack.yUPAma/_new  2018-02-16 21:38:27.592532522 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-DateTime
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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.45
+Version:        1.46
 Release:        0
 %define cpan_name DateTime
 Summary:        Date and Time Object for Perl

++++++ DateTime-1.45.tar.gz -> DateTime-1.46.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/Changes new/DateTime-1.46/Changes
--- old/DateTime-1.45/Changes   2017-12-29 18:55:04.000000000 +0100
+++ new/DateTime-1.46/Changes   2018-02-12 00:36:51.000000000 +0100
@@ -1,4 +1,10 @@
-1.45   2017-12-29
+1.46   2018-02-11
+
+- Fixed the formatting for the CLDR "S" symbol. It could in some cases round
+  _up_ to 1 instead of truncating a value. For example, the "SSS" symbol would
+  format 999,999,999 nanoseconds as "1.000". Fixed by Gianni Ceccarelli. PR
+  #71.
+
 
 1.45    2017-12-26
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/LICENSE new/DateTime-1.46/LICENSE
--- old/DateTime-1.45/LICENSE   2017-12-29 18:55:04.000000000 +0100
+++ new/DateTime-1.46/LICENSE   2018-02-12 00:36:51.000000000 +0100
@@ -1,4 +1,4 @@
-This software is Copyright (c) 2003 - 2017 by Dave Rolsky.
+This software is Copyright (c) 2003 - 2018 by Dave Rolsky.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/META.json new/DateTime-1.46/META.json
--- old/DateTime-1.45/META.json 2017-12-29 18:55:04.000000000 +0100
+++ new/DateTime-1.46/META.json 2018-02-12 00:36:51.000000000 +0100
@@ -106,43 +106,43 @@
    "provides" : {
       "DateTime" : {
          "file" : "lib/DateTime.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       },
       "DateTime::Duration" : {
          "file" : "lib/DateTime/Duration.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       },
       "DateTime::Helpers" : {
          "file" : "lib/DateTime/Helpers.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       },
       "DateTime::Infinite" : {
          "file" : "lib/DateTime/Infinite.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       },
       "DateTime::Infinite::Future" : {
          "file" : "lib/DateTime/Infinite.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       },
       "DateTime::Infinite::Past" : {
          "file" : "lib/DateTime/Infinite.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       },
       "DateTime::LeapSecond" : {
          "file" : "lib/DateTime/LeapSecond.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       },
       "DateTime::PP" : {
          "file" : "lib/DateTime/PP.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       },
       "DateTime::PPExtra" : {
          "file" : "lib/DateTime/PPExtra.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       },
       "DateTime::Types" : {
          "file" : "lib/DateTime/Types.pm",
-         "version" : "1.45"
+         "version" : "1.46"
       }
    },
    "release_status" : "stable",
@@ -158,7 +158,7 @@
       },
       "x_MailingList" : "[email protected]"
    },
-   "version" : "1.45",
+   "version" : "1.46",
    "x_Dist_Zilla" : {
       "perl" : {
          "version" : "5.026001"
@@ -418,7 +418,7 @@
          {
             "class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable",
             "name" : "@DROLSKY/Test::Pod::Coverage::Configurable",
-            "version" : "0.06"
+            "version" : "0.07"
          },
          {
             "class" : "Dist::Zilla::Plugin::Test::PodSpelling",
@@ -642,7 +642,7 @@
             "class" : "Dist::Zilla::Plugin::Git::Contributors",
             "config" : {
                "Dist::Zilla::Plugin::Git::Contributors" : {
-                  "git_version" : "2.15.1",
+                  "git_version" : "2.16.1",
                   "include_authors" : 0,
                   "include_releaser" : 1,
                   "order_by" : "name",
@@ -885,7 +885,7 @@
             "class" : 
"Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch",
             "config" : {
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.15.1",
+                  "git_version" : "2.16.1",
                   "repo_root" : "."
                }
             },
@@ -901,7 +901,7 @@
             "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
             "config" : {
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.15.1",
+                  "git_version" : "2.16.1",
                   "repo_root" : "."
                }
             },
@@ -935,7 +935,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.15.1",
+                  "git_version" : "2.16.1",
                   "repo_root" : "."
                }
             },
@@ -965,7 +965,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.15.1",
+                  "git_version" : "2.16.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -982,12 +982,12 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v1.45",
+                  "tag" : "v1.46",
                   "tag_format" : "v%v",
                   "tag_message" : "v%v"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.15.1",
+                  "git_version" : "2.16.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -1007,7 +1007,7 @@
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.15.1",
+                  "git_version" : "2.16.1",
                   "repo_root" : "."
                }
             },
@@ -1027,7 +1027,7 @@
                }
             },
             "name" : "@DROLSKY/BumpVersionAfterRelease",
-            "version" : "0.016"
+            "version" : "0.017"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -1047,7 +1047,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.15.1",
+                  "git_version" : "2.16.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -1067,7 +1067,7 @@
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.15.1",
+                  "git_version" : "2.16.1",
                   "repo_root" : "."
                }
             },
@@ -1217,6 +1217,7 @@
       "David Precious <[email protected]>",
       "Doug Bell <[email protected]>",
       "Fl\u00e1vio Soibelmann Glock <[email protected]>",
+      "Gianni Ceccarelli <[email protected]>",
       "Gregory Oschwald <[email protected]>",
       "Hauke D <[email protected]>",
       "Iain Truskett <deceased>",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/META.yml new/DateTime-1.46/META.yml
--- old/DateTime-1.45/META.yml  2017-12-29 18:55:04.000000000 +0100
+++ new/DateTime-1.46/META.yml  2018-02-12 00:36:51.000000000 +0100
@@ -25,34 +25,34 @@
 provides:
   DateTime:
     file: lib/DateTime.pm
-    version: '1.45'
+    version: '1.46'
   DateTime::Duration:
     file: lib/DateTime/Duration.pm
-    version: '1.45'
+    version: '1.46'
   DateTime::Helpers:
     file: lib/DateTime/Helpers.pm
-    version: '1.45'
+    version: '1.46'
   DateTime::Infinite:
     file: lib/DateTime/Infinite.pm
-    version: '1.45'
+    version: '1.46'
   DateTime::Infinite::Future:
     file: lib/DateTime/Infinite.pm
-    version: '1.45'
+    version: '1.46'
   DateTime::Infinite::Past:
     file: lib/DateTime/Infinite.pm
-    version: '1.45'
+    version: '1.46'
   DateTime::LeapSecond:
     file: lib/DateTime/LeapSecond.pm
-    version: '1.45'
+    version: '1.46'
   DateTime::PP:
     file: lib/DateTime/PP.pm
-    version: '1.45'
+    version: '1.46'
   DateTime::PPExtra:
     file: lib/DateTime/PPExtra.pm
-    version: '1.45'
+    version: '1.46'
   DateTime::Types:
     file: lib/DateTime/Types.pm
-    version: '1.45'
+    version: '1.46'
 requires:
   Carp: '0'
   DateTime::Locale: '1.06'
@@ -83,7 +83,7 @@
   bugtracker: https://github.com/houseabsolute/DateTime.pm/issues
   homepage: http://metacpan.org/release/DateTime
   repository: git://github.com/houseabsolute/DateTime.pm.git
-version: '1.45'
+version: '1.46'
 x_Dist_Zilla:
   perl:
     version: '5.026001'
@@ -286,7 +286,7 @@
     -
       class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable
       name: '@DROLSKY/Test::Pod::Coverage::Configurable'
-      version: '0.06'
+      version: '0.07'
     -
       class: Dist::Zilla::Plugin::Test::PodSpelling
       config:
@@ -476,7 +476,7 @@
       class: Dist::Zilla::Plugin::Git::Contributors
       config:
         Dist::Zilla::Plugin::Git::Contributors:
-          git_version: 2.15.1
+          git_version: 2.16.1
           include_authors: 0
           include_releaser: 1
           order_by: name
@@ -665,7 +665,7 @@
       class: Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch
       config:
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.15.1
+          git_version: 2.16.1
           repo_root: .
       name: '@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch'
       version: '0.89'
@@ -677,7 +677,7 @@
       class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
       config:
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.15.1
+          git_version: 2.16.1
           repo_root: .
       name: '@DROLSKY/Git::CheckFor::MergeConflicts'
       version: '0.014'
@@ -704,7 +704,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.15.1
+          git_version: 2.16.1
           repo_root: .
       name: '@DROLSKY/Git::Check'
       version: '2.043'
@@ -728,7 +728,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.15.1
+          git_version: 2.16.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -741,11 +741,11 @@
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v1.45
+          tag: v1.46
           tag_format: v%v
           tag_message: v%v
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.15.1
+          git_version: 2.16.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -759,7 +759,7 @@
             - origin
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.15.1
+          git_version: 2.16.1
           repo_root: .
       name: '@DROLSKY/Git::Push'
       version: '2.043'
@@ -773,7 +773,7 @@
           global: 0
           munge_makefile_pl: 1
       name: '@DROLSKY/BumpVersionAfterRelease'
-      version: '0.016'
+      version: '0.017'
     -
       class: Dist::Zilla::Plugin::Git::Commit
       config:
@@ -788,7 +788,7 @@
             - (?^:.+)
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.15.1
+          git_version: 2.16.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -802,7 +802,7 @@
             - origin
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.15.1
+          git_version: 2.16.1
           repo_root: .
       name: '@DROLSKY/Push version bump'
       version: '2.043'
@@ -916,6 +916,7 @@
   - 'David Precious <[email protected]>'
   - 'Doug Bell <[email protected]>'
   - 'Flávio Soibelmann Glock <[email protected]>'
+  - 'Gianni Ceccarelli <[email protected]>'
   - 'Gregory Oschwald <[email protected]>'
   - 'Hauke D <[email protected]>'
   - 'Iain Truskett <deceased>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/Makefile.PL 
new/DateTime-1.46/Makefile.PL
--- old/DateTime-1.45/Makefile.PL       2017-12-29 18:55:04.000000000 +0100
+++ new/DateTime-1.46/Makefile.PL       2018-02-12 00:36:51.000000000 +0100
@@ -54,7 +54,7 @@
     "Test::Warnings" => "0.005",
     "utf8" => 0
   },
-  "VERSION" => "1.45",
+  "VERSION" => "1.46",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/README.md new/DateTime-1.46/README.md
--- old/DateTime-1.45/README.md 2017-12-29 18:55:04.000000000 +0100
+++ new/DateTime-1.46/README.md 2018-02-12 00:36:51.000000000 +0100
@@ -4,7 +4,7 @@
 
 # VERSION
 
-version 1.45
+version 1.46
 
 # SYNOPSIS
 
@@ -2233,6 +2233,7 @@
 - David Precious <[email protected]>
 - Doug Bell <[email protected]>
 - Flávio Soibelmann Glock <[email protected]>
+- Gianni Ceccarelli <[email protected]>
 - Gregory Oschwald <[email protected]>
 - Hauke D <[email protected]>
 - Iain Truskett &lt;deceased>
@@ -2254,7 +2255,7 @@
 
 # COPYRIGHT AND LICENSE
 
-This software is Copyright (c) 2003 - 2017 by Dave Rolsky.
+This software is Copyright (c) 2003 - 2018 by Dave Rolsky.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/lib/DateTime/Duration.pm 
new/DateTime-1.46/lib/DateTime/Duration.pm
--- old/DateTime-1.45/lib/DateTime/Duration.pm  2017-12-29 18:55:04.000000000 
+0100
+++ new/DateTime-1.46/lib/DateTime/Duration.pm  2018-02-12 00:36:51.000000000 
+0100
@@ -4,7 +4,7 @@
 use warnings;
 use namespace::autoclean;
 
-our $VERSION = '1.45';
+our $VERSION = '1.46';
 
 use Carp ();
 use DateTime;
@@ -352,7 +352,7 @@
 
 =head1 VERSION
 
-version 1.45
+version 1.46
 
 =head1 SYNOPSIS
 
@@ -646,7 +646,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is Copyright (c) 2003 - 2017 by Dave Rolsky.
+This software is Copyright (c) 2003 - 2018 by Dave Rolsky.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/lib/DateTime/Helpers.pm 
new/DateTime-1.46/lib/DateTime/Helpers.pm
--- old/DateTime-1.45/lib/DateTime/Helpers.pm   2017-12-29 18:55:04.000000000 
+0100
+++ new/DateTime-1.46/lib/DateTime/Helpers.pm   2018-02-12 00:36:51.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.45';
+our $VERSION = '1.46';
 
 use Scalar::Util ();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/lib/DateTime/Infinite.pm 
new/DateTime-1.46/lib/DateTime/Infinite.pm
--- old/DateTime-1.45/lib/DateTime/Infinite.pm  2017-12-29 18:55:04.000000000 
+0100
+++ new/DateTime-1.46/lib/DateTime/Infinite.pm  2018-02-12 00:36:51.000000000 
+0100
@@ -5,7 +5,7 @@
 use warnings;
 use namespace::autoclean;
 
-our $VERSION = '1.45';
+our $VERSION = '1.46';
 
 use DateTime;
 use DateTime::TimeZone;
@@ -214,7 +214,7 @@
 
 =head1 VERSION
 
-version 1.45
+version 1.46
 
 =head1 SYNOPSIS
 
@@ -280,7 +280,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is Copyright (c) 2003 - 2017 by Dave Rolsky.
+This software is Copyright (c) 2003 - 2018 by Dave Rolsky.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/lib/DateTime/LeapSecond.pm 
new/DateTime-1.46/lib/DateTime/LeapSecond.pm
--- old/DateTime-1.45/lib/DateTime/LeapSecond.pm        2017-12-29 
18:55:04.000000000 +0100
+++ new/DateTime-1.46/lib/DateTime/LeapSecond.pm        2018-02-12 
00:36:51.000000000 +0100
@@ -4,7 +4,7 @@
 use warnings;
 use namespace::autoclean;
 
-our $VERSION = '1.45';
+our $VERSION = '1.46';
 
 our ( @RD, @LEAP_SECONDS, %RD_LENGTH );
 
@@ -134,7 +134,7 @@
 
 =head1 VERSION
 
-version 1.45
+version 1.46
 
 =head1 SYNOPSIS
 
@@ -199,7 +199,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is Copyright (c) 2003 - 2017 by Dave Rolsky.
+This software is Copyright (c) 2003 - 2018 by Dave Rolsky.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/lib/DateTime/PP.pm 
new/DateTime-1.46/lib/DateTime/PP.pm
--- old/DateTime-1.45/lib/DateTime/PP.pm        2017-12-29 18:55:04.000000000 
+0100
+++ new/DateTime-1.46/lib/DateTime/PP.pm        2018-02-12 00:36:51.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.45';
+our $VERSION = '1.46';
 
 ## no critic (Variables::ProhibitPackageVars)
 $DateTime::IsPurePerl = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/lib/DateTime/PPExtra.pm 
new/DateTime-1.46/lib/DateTime/PPExtra.pm
--- old/DateTime-1.45/lib/DateTime/PPExtra.pm   2017-12-29 18:55:04.000000000 
+0100
+++ new/DateTime-1.46/lib/DateTime/PPExtra.pm   2018-02-12 00:36:51.000000000 
+0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.45';
+our $VERSION = '1.46';
 
 use DateTime::LeapSecond;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/lib/DateTime/Types.pm 
new/DateTime-1.46/lib/DateTime/Types.pm
--- old/DateTime-1.45/lib/DateTime/Types.pm     2017-12-29 18:55:04.000000000 
+0100
+++ new/DateTime-1.46/lib/DateTime/Types.pm     2018-02-12 00:36:51.000000000 
+0100
@@ -4,7 +4,7 @@
 use warnings;
 use namespace::autoclean;
 
-our $VERSION = '1.45';
+our $VERSION = '1.46';
 
 use parent 'Specio::Exporter';
 
@@ -170,7 +170,7 @@
 
 =head1 VERSION
 
-version 1.45
+version 1.46
 
 =head1 DESCRIPTION
 
@@ -197,7 +197,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is Copyright (c) 2003 - 2017 by Dave Rolsky.
+This software is Copyright (c) 2003 - 2018 by Dave Rolsky.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/lib/DateTime.pm 
new/DateTime-1.46/lib/DateTime.pm
--- old/DateTime-1.45/lib/DateTime.pm   2017-12-29 18:55:04.000000000 +0100
+++ new/DateTime-1.46/lib/DateTime.pm   2018-02-12 00:36:51.000000000 +0100
@@ -8,7 +8,7 @@
 use warnings::register;
 use namespace::autoclean 0.19;
 
-our $VERSION = '1.45';
+our $VERSION = '1.46';
 
 use Carp;
 use DateTime::Duration;
@@ -1314,18 +1314,9 @@
         qr/(ss?)/ =>
             sub { $_[0]->_zero_padded_number( $1, $_[0]->second() ) },
 
-        # I'm not sure this is what is wanted (notably the trailing
-        # and leading zeros it can produce), but once again the LDML
-        # spec is not all that clear.
-        qr/(S+)/ => sub {
-            my $l   = length $1;
-            my $val = sprintf(
-                "%.${l}f",
-                $_[0]->fractional_second() - $_[0]->second()
-            );
-            $val =~ s/^0\.//;
-            $val || 0;
-        },
+        # The LDML spec is not 100% clear on how to truncate this field, but
+        # this way seems as good as anything.
+        qr/(S+)/ => sub { $_[0]->_format_nanosecs( length($1) ) },
         qr/A+/ =>
             sub { ( $_[0]->{local_rd_secs} * 1000 ) + $_[0]->millisecond() },
 
@@ -2334,7 +2325,7 @@
 
 =head1 VERSION
 
-version 1.45
+version 1.46
 
 =head1 SYNOPSIS
 
@@ -4586,7 +4577,7 @@
 
 =head1 CONTRIBUTORS
 
-=for stopwords Ben Bennett Christian Hansen Daisuke Maki Dan Book Stewart 
David E. Wheeler Precious Doug Bell Flávio Soibelmann Glock Gregory Oschwald 
Hauke D Iain Truskett Jason McIntosh Joshua Hoblitt Karen Etheridge Michael 
Conrad R. Davis M Somerville Nick Tonkin Olaf Alders Ovid Philippe Bruhat 
(BooK) Ricardo Signes Richard Bowen Ron Hill Sam Kington viviparous
+=for stopwords Ben Bennett Christian Hansen Daisuke Maki Dan Book Stewart 
David E. Wheeler Precious Doug Bell Flávio Soibelmann Glock Gianni Ceccarelli 
Gregory Oschwald Hauke D Iain Truskett Jason McIntosh Joshua Hoblitt Karen 
Etheridge Michael Conrad R. Davis M Somerville Nick Tonkin Olaf Alders Ovid 
Philippe Bruhat (BooK) Ricardo Signes Richard Bowen Ron Hill Sam Kington 
viviparous
 
 =over 4
 
@@ -4628,6 +4619,10 @@
 
 =item *
 
+Gianni Ceccarelli <[email protected]>
+
+=item *
+
 Gregory Oschwald <[email protected]>
 
 =item *
@@ -4702,7 +4697,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-This software is Copyright (c) 2003 - 2017 by Dave Rolsky.
+This software is Copyright (c) 2003 - 2018 by Dave Rolsky.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/t/41cldr-format.t 
new/DateTime-1.46/t/41cldr-format.t
--- old/DateTime-1.45/t/41cldr-format.t 2017-12-29 18:55:04.000000000 +0100
+++ new/DateTime-1.46/t/41cldr-format.t 2018-02-12 00:36:51.000000000 +0100
@@ -302,4 +302,24 @@
     }
 }
 
+{
+    my $dt = DateTime->new(
+        year       => 1976,
+        month      => 10,
+        day        => 20,
+        hour       => 18,
+        minute     => 34,
+        second     => 55,
+        nanosecond => 999_999_999,
+        locale     => 'en',
+        time_zone  => 'UTC',
+    );
+
+    is(
+        $dt->format_cldr('ss,SSS'),
+        '55,999',
+        'milliseconds are rounded down',
+    );
+}
+
 done_testing();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/xt/author/pod-coverage.t 
new/DateTime-1.46/xt/author/pod-coverage.t
--- old/DateTime-1.45/xt/author/pod-coverage.t  2017-12-29 18:55:04.000000000 
+0100
+++ new/DateTime-1.46/xt/author/pod-coverage.t  2018-02-12 00:36:51.000000000 
+0100
@@ -1,5 +1,5 @@
 #!perl
-# This file was automatically generated by 
Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable.
+# This file was automatically generated by 
Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable 0.07.
 
 use Test::Pod::Coverage 1.08;
 use Test::More 0.88;
@@ -26,12 +26,6 @@
 plan tests => scalar @modules;
 
 my %trustme = (
-             'DateTime::Infinite' => [
-                                       qr/^.+$/
-                                     ],
-             'DateTime::Duration' => [
-                                       qr/^[A-Z_]+$/
-                                     ],
              'DateTime' => [
                              qr/^[A-Z_]+$/,
                              qr/0$/,
@@ -52,7 +46,13 @@
                              qr/^DefaultLanguage$/,
                              qr/^era$/,
                              qr/^language$/
-                           ]
+                           ],
+             'DateTime::Duration' => [
+                                       qr/^[A-Z_]+$/
+                                     ],
+             'DateTime::Infinite' => [
+                                       qr/^.+$/
+                                     ]
            );
 
 my @also_private;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/xt/author/pod-spell.t 
new/DateTime-1.46/xt/author/pod-spell.t
--- old/DateTime-1.45/xt/author/pod-spell.t     2017-12-29 18:55:04.000000000 
+0100
+++ new/DateTime-1.46/xt/author/pod-spell.t     2018-02-12 00:36:51.000000000 
+0100
@@ -23,6 +23,7 @@
 Bruhat
 CLDR
 CPAN
+Ceccarelli
 Christian
 Conflicts
 Conrad
@@ -48,6 +49,7 @@
 Formatters
 GGGG
 GGGGG
+Gianni
 Glock
 Gregory
 Hansen
@@ -146,6 +148,7 @@
 fglock
 fiji
 formatter
+gianni
 github
 grinnz
 haukex
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-1.45/xt/author/pp-41cldr-format.t 
new/DateTime-1.46/xt/author/pp-41cldr-format.t
--- old/DateTime-1.45/xt/author/pp-41cldr-format.t      2017-12-29 
18:55:04.000000000 +0100
+++ new/DateTime-1.46/xt/author/pp-41cldr-format.t      2018-02-12 
00:36:51.000000000 +0100
@@ -306,5 +306,25 @@
     }
 }
 
+{
+    my $dt = DateTime->new(
+        year       => 1976,
+        month      => 10,
+        day        => 20,
+        hour       => 18,
+        minute     => 34,
+        second     => 55,
+        nanosecond => 999_999_999,
+        locale     => 'en',
+        time_zone  => 'UTC',
+    );
+
+    is(
+        $dt->format_cldr('ss,SSS'),
+        '55,999',
+        'milliseconds are rounded down',
+    );
+}
+
 done_testing();
 


Reply via email to