Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-DateTime-Format-Natural for 
openSUSE:Factory checked in at 2026-03-11 20:52:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime-Format-Natural (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DateTime-Format-Natural.new.8177 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DateTime-Format-Natural"

Wed Mar 11 20:52:11 2026 rev:18 rq:1338044 version:1.250.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-DateTime-Format-Natural/perl-DateTime-Format-Natural.changes
        2026-01-23 17:34:28.293407411 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-DateTime-Format-Natural.new.8177/perl-DateTime-Format-Natural.changes
      2026-03-11 20:52:41.903462271 +0100
@@ -1,0 +2,12 @@
+Sat Feb 14 06:01:29 UTC 2026 - Tina Müller <[email protected]>
+
+- updated to 1.250.0 (1.25)
+   see /usr/share/doc/packages/perl-DateTime-Format-Natural/Changes
+
+  1.25  2026-02-13  <[email protected]>
+   - Merged development version to stable.
+  1.24_01  2026-02-12  <[email protected]>
+   - Add parsing for beginning and end of x months ago, this month,
+     and x months from now. [github #28 - gibus]
+
+-------------------------------------------------------------------

Old:
----
  DateTime-Format-Natural-1.24.tar.gz

New:
----
  DateTime-Format-Natural-1.25.tar.gz

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

Other differences:
------------------
++++++ perl-DateTime-Format-Natural.spec ++++++
--- /var/tmp/diff_new_pack.5hOn42/_old  2026-03-11 20:52:42.391482404 +0100
+++ /var/tmp/diff_new_pack.5hOn42/_new  2026-03-11 20:52:42.391482404 +0100
@@ -18,10 +18,10 @@
 
 %define cpan_name DateTime-Format-Natural
 Name:           perl-DateTime-Format-Natural
-Version:        1.240.0
+Version:        1.250.0
 Release:        0
-# 1.24 -> normalize -> 1.240.0
-%define cpan_version 1.24
+# 1.25 -> normalize -> 1.250.0
+%define cpan_version 1.25
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        Parse informal natural language date/time strings
 URL:            https://metacpan.org/release/%{cpan_name}
@@ -49,7 +49,7 @@
 Requires:       perl(Params::Validate) >= 1.150
 Requires:       perl(boolean)
 Provides:       perl(DateTime::Format::Natural) = %{version}
-Provides:       perl(DateTime::Format::Natural::Calc) = 1.460.0
+Provides:       perl(DateTime::Format::Natural::Calc) = 1.470.0
 Provides:       perl(DateTime::Format::Natural::Compat) = 0.70.0
 Provides:       perl(DateTime::Format::Natural::Duration) = 0.80.0
 Provides:       perl(DateTime::Format::Natural::Duration::Checks) = 0.70.0
@@ -58,7 +58,7 @@
 Provides:       perl(DateTime::Format::Natural::Formatted) = 0.120.0
 Provides:       perl(DateTime::Format::Natural::Helpers) = 0.70.0
 Provides:       perl(DateTime::Format::Natural::Lang::Base) = 1.80.0
-Provides:       perl(DateTime::Format::Natural::Lang::EN) = 1.740.0
+Provides:       perl(DateTime::Format::Natural::Lang::EN) = 1.750.0
 Provides:       perl(DateTime::Format::Natural::Rewrite) = 0.100.0
 Provides:       perl(DateTime::Format::Natural::Test) = 0.130.0
 Provides:       perl(DateTime::Format::Natural::Utils) = 0.80.0

++++++ DateTime-Format-Natural-1.24.tar.gz -> 
DateTime-Format-Natural-1.25.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Format-Natural-1.24/Changes 
new/DateTime-Format-Natural-1.25/Changes
--- old/DateTime-Format-Natural-1.24/Changes    2026-01-18 22:20:31.000000000 
+0100
+++ new/DateTime-Format-Natural-1.25/Changes    2026-02-13 20:47:52.000000000 
+0100
@@ -1,5 +1,14 @@
 Revision history for Perl extension DateTime::Format::Natural.
 
+1.25  2026-02-13  <[email protected]>
+
+ - Merged development version to stable.
+
+1.24_01  2026-02-12  <[email protected]>
+
+ - Add parsing for beginning and end of x months ago, this month,
+   and x months from now. [github #28 - gibus]
+
 1.24  2026-01-18  <[email protected]>
 
  - Merged development version to stable.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Format-Natural-1.24/META.json 
new/DateTime-Format-Natural-1.25/META.json
--- old/DateTime-Format-Natural-1.24/META.json  2026-01-18 22:20:31.000000000 
+0100
+++ new/DateTime-Format-Natural-1.25/META.json  2026-02-13 20:47:52.000000000 
+0100
@@ -54,11 +54,11 @@
    "provides" : {
       "DateTime::Format::Natural" : {
          "file" : "lib/DateTime/Format/Natural.pm",
-         "version" : "1.24"
+         "version" : "1.25"
       },
       "DateTime::Format::Natural::Calc" : {
          "file" : "lib/DateTime/Format/Natural/Calc.pm",
-         "version" : "1.46"
+         "version" : "1.47"
       },
       "DateTime::Format::Natural::Compat" : {
          "file" : "lib/DateTime/Format/Natural/Compat.pm",
@@ -94,7 +94,7 @@
       },
       "DateTime::Format::Natural::Lang::EN" : {
          "file" : "lib/DateTime/Format/Natural/Lang/EN.pm",
-         "version" : "1.74"
+         "version" : "1.75"
       },
       "DateTime::Format::Natural::Rewrite" : {
          "file" : "lib/DateTime/Format/Natural/Rewrite.pm",
@@ -122,6 +122,6 @@
          "url" : "https://github.com/stsc/DateTime-Format-Natural";
       }
    },
-   "version" : "1.24",
+   "version" : "1.25",
    "x_serialization_backend" : "JSON::PP version 4.16"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Format-Natural-1.24/META.yml 
new/DateTime-Format-Natural-1.25/META.yml
--- old/DateTime-Format-Natural-1.24/META.yml   2026-01-18 22:20:31.000000000 
+0100
+++ new/DateTime-Format-Natural-1.25/META.yml   2026-02-13 20:47:52.000000000 
+0100
@@ -22,10 +22,10 @@
 provides:
   DateTime::Format::Natural:
     file: lib/DateTime/Format/Natural.pm
-    version: '1.24'
+    version: '1.25'
   DateTime::Format::Natural::Calc:
     file: lib/DateTime/Format/Natural/Calc.pm
-    version: '1.46'
+    version: '1.47'
   DateTime::Format::Natural::Compat:
     file: lib/DateTime/Format/Natural/Compat.pm
     version: '0.07'
@@ -52,7 +52,7 @@
     version: '1.08'
   DateTime::Format::Natural::Lang::EN:
     file: lib/DateTime/Format/Natural/Lang/EN.pm
-    version: '1.74'
+    version: '1.75'
   DateTime::Format::Natural::Rewrite:
     file: lib/DateTime/Format/Natural/Rewrite.pm
     version: '0.10'
@@ -84,5 +84,5 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: https://github.com/stsc/DateTime-Format-Natural
-version: '1.24'
+version: '1.25'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.011'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Format-Natural-1.24/README 
new/DateTime-Format-Natural-1.25/README
--- old/DateTime-Format-Natural-1.24/README     2026-01-18 22:20:31.000000000 
+0100
+++ new/DateTime-Format-Natural-1.25/README     2026-02-13 20:47:52.000000000 
+0100
@@ -254,6 +254,7 @@
      Karen Etheridge
      Graham Ollis
      isla w
+     gibus
 
 SEE ALSO
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/DateTime-Format-Natural-1.24/lib/DateTime/Format/Natural/Calc.pm 
new/DateTime-Format-Natural-1.25/lib/DateTime/Format/Natural/Calc.pm
--- old/DateTime-Format-Natural-1.24/lib/DateTime/Format/Natural/Calc.pm        
2026-01-18 22:20:31.000000000 +0100
+++ new/DateTime-Format-Natural-1.25/lib/DateTime/Format/Natural/Calc.pm        
2026-02-13 20:47:52.000000000 +0100
@@ -12,7 +12,7 @@
 use constant AFTERNOON => '14';
 use constant EVENING   => '20';
 
-our $VERSION = '1.46';
+our $VERSION = '1.47';
 
 my $multiply_by = sub
 {
@@ -418,6 +418,18 @@
     });
 }
 
+sub _begin_end_month
+{
+    my $self = shift;
+    $self->_register_trace;
+    my $opts = pop;
+    my ($day) = @_;
+    unless (defined $day) {
+        $day = $self->_Days_in_Month($self->{datetime}->year, 
$self->{datetime}->month);
+    }
+    $self->_set(day => $day);
+}
+
 1;
 __END__
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/DateTime-Format-Natural-1.24/lib/DateTime/Format/Natural/Lang/EN.pm 
new/DateTime-Format-Natural-1.25/lib/DateTime/Format/Natural/Lang/EN.pm
--- old/DateTime-Format-Natural-1.24/lib/DateTime/Format/Natural/Lang/EN.pm     
2026-01-18 22:20:31.000000000 +0100
+++ new/DateTime-Format-Natural-1.25/lib/DateTime/Format/Natural/Lang/EN.pm     
2026-02-13 20:47:52.000000000 +0100
@@ -14,7 +14,7 @@
 
 use DateTime::Format::Natural::Helpers qw(%flag);
 
-our $VERSION = '1.74';
+our $VERSION = '1.75';
 
 our (%init,
      %timespan,
@@ -4718,6 +4718,103 @@
          { truncate_to => [q(day)] },
        ],
     ],
+    begin_end_month_ago => [
+        [ 'SCALAR', 'SCALAR', 'REGEXP', 'REGEXP', 'SCALAR' ],
+        [
+          { 0 => 'beginning', 1 => 'of', 2 => $RE{number}, 3 => 
qr/^(months?)$/i, 4 => 'ago' },
+          [ [ 2, 3 ] ],
+          [ $extended_checks{suffix} ],
+          [
+            [ 2 ],
+            [
+              { VALUE => 1 },
+            ],
+          ],
+          [ { unit => 'month' }, {} ],
+          [ '_ago_variant', '_begin_end_month' ],
+          { truncate_to => [q(day)] },
+        ],
+        [
+          { 0 => 'end', 1 => 'of', 2 => $RE{number}, 3 => qr/^(months?)$/i, 4 
=> 'ago' },
+          [ [ 2, 3 ] ],
+          [ $extended_checks{suffix} ],
+          [
+            [ 2 ],
+            [
+              { VALUE => undef },
+            ],
+          ],
+          [ { unit => 'month' }, {} ],
+          [ '_ago_variant', '_begin_end_month' ],
+          { truncate_to => [q(day)] },
+        ],
+    ],
+    begin_end_this_month => [
+        [ 'SCALAR', 'SCALAR', 'SCALAR', 'SCALAR' ],
+        [
+          { 0 => 'beginning', 1 => 'of', 2 => 'this', 3 => 'month' },
+          [],
+          [],
+          [
+            [
+              { VALUE => 1 },
+            ],
+          ],
+          [ {} ],
+          [ '_begin_end_month' ],
+          { truncate_to => [q(day)] },
+        ],
+        [
+          { 0 => 'end', 1 => 'of', 2 => 'this', 3 => 'month' },
+          [],
+          [],
+          [
+            [
+              { VALUE => undef },
+            ],
+          ],
+          [ {} ],
+          [ '_begin_end_month' ],
+          { truncate_to => [q(day)] },
+        ],
+    ],
+    begin_end_month_from_now => [
+        [ 'SCALAR', 'SCALAR', 'REGEXP', 'REGEXP', 'REGEXP', 'SCALAR' ],
+        [
+          { 0 => 'beginning', 1 => 'of', 2 => $RE{number}, 3 => 
qr/^(months?)$/i, 4 => qr/^(from)$/i, 5 => 'now' },
+          [ [ 2, 3 ] ],
+          [ $extended_checks{suffix} ],
+          [
+            [
+                2,
+                { 4 => [ $flag{before_after_from} ] },
+            ],
+            [
+              { VALUE => 1 },
+            ],
+          ],
+          [ { unit => 'month' }, {}  ],
+          [ '_now_variant', '_begin_end_month' ],
+          { truncate_to => [q(day)] },
+        ],
+        [
+          { 0 => 'end', 1 => 'of', 2 => $RE{number}, 3 => qr/^(months?)$/i, 4 
=> qr/^(from)$/i, 5 => 'now' },
+          [ [ 2, 3 ] ],
+          [ $extended_checks{suffix} ],
+          [
+            [
+                2,
+                { 4 => [ $flag{before_after_from} ] },
+            ],
+            [
+              { VALUE => undef },
+            ],
+          ],
+          [ { unit => 'month' }, {}  ],
+          [ '_now_variant', '_begin_end_month' ],
+          { truncate_to => [q(day)] },
+        ],
+    ],
 );
 
 1;
@@ -5061,6 +5158,12 @@
  last thursday in april
  beginning of last month
  end of last month
+ beginning of 3 months ago
+ end of 3 months ago
+ beginning of this month
+ end of this month
+ beginning of 3 months from now
+ end of 3 months from now
 
 =head2 Timespans
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/DateTime-Format-Natural-1.24/lib/DateTime/Format/Natural.pm 
new/DateTime-Format-Natural-1.25/lib/DateTime/Format/Natural.pm
--- old/DateTime-Format-Natural-1.24/lib/DateTime/Format/Natural.pm     
2026-01-18 22:20:31.000000000 +0100
+++ new/DateTime-Format-Natural-1.25/lib/DateTime/Format/Natural.pm     
2026-02-13 20:47:52.000000000 +0100
@@ -24,7 +24,7 @@
 
 use DateTime::Format::Natural::Utils qw(trim);
 
-our $VERSION = '1.24';
+our $VERSION = '1.25';
 
 validation_options(
     on_fail => sub
@@ -1029,6 +1029,7 @@
  Karen Etheridge
  Graham Ollis
  isla w
+ gibus
 
 =head1 SEE ALSO
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Format-Natural-1.24/t/01-parse.t 
new/DateTime-Format-Natural-1.25/t/01-parse.t
--- old/DateTime-Format-Natural-1.24/t/01-parse.t       2026-01-18 
22:20:31.000000000 +0100
+++ new/DateTime-Format-Natural-1.25/t/01-parse.t       2026-02-13 
20:47:52.000000000 +0100
@@ -268,6 +268,12 @@
     { 'last thursday in april'                     => [ '27.04.2006 00:00:00', 
    truncated ] },
     { 'beginning of last month'                    => [ '01.10.2006 00:00:00', 
    truncated ] },
     { 'end of last month'                          => [ '31.10.2006 00:00:00', 
    truncated ] },
+    { 'beginning of 3 months ago'                  => [ '01.08.2006 00:00:00', 
    truncated ] },
+    { 'end of 3 months ago'                        => [ '31.08.2006 00:00:00', 
    truncated ] },
+    { 'beginning of this month'                    => [ '01.11.2006 00:00:00', 
    truncated ] },
+    { 'end of this month'                          => [ '30.11.2006 00:00:00', 
    truncated ] },
+    { 'beginning of 3 months from now'             => [ '01.02.2007 00:00:00', 
    truncated ] },
+    { 'end of 3 months from now'                   => [ '28.02.2007 00:00:00', 
    truncated ] },
 );
 
 my @specific = (
@@ -315,7 +321,7 @@
     { '+2d'                                => [ '26.11.2006 01:13:08',     
unaltered ] },
 );
 
-_run_tests(720, [ [ \@simple ], [ \@complex ], [ \@specific ] ], \&compare);
+_run_tests(726, [ [ \@simple ], [ \@complex ], [ \@specific ] ], \&compare);
 
 sub compare
 {

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.5hOn42/_old  2026-03-11 20:52:42.547488840 +0100
+++ /var/tmp/diff_new_pack.5hOn42/_new  2026-03-11 20:52:42.555489170 +0100
@@ -1,6 +1,6 @@
-mtime: 1768801961
-commit: e7030ca73f5fe81a2896b6978dda503b065c3342a04d03f29006eac539d545ee
+mtime: 1771048889
+commit: 6bb2fbcad877ccc0be9845d00732d1a08535ca519216a2001a8883995126c4e9
 url: https://src.opensuse.org/perl/perl-DateTime-Format-Natural.git
-revision: e7030ca73f5fe81a2896b6978dda503b065c3342a04d03f29006eac539d545ee
+revision: 6bb2fbcad877ccc0be9845d00732d1a08535ca519216a2001a8883995126c4e9
 projectscmsync: https://src.opensuse.org/perl/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-03-09 17:56:07.000000000 +0100
@@ -0,0 +1 @@
+.osc

Reply via email to