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-01-13 21:34:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime-Format-Natural (Old)
and /work/SRC/openSUSE:Factory/.perl-DateTime-Format-Natural.new.1928
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DateTime-Format-Natural"
Tue Jan 13 21:34:36 2026 rev:16 rq:1326996 version:1.230.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-DateTime-Format-Natural/perl-DateTime-Format-Natural.changes
2025-10-10 17:13:30.031724742 +0200
+++
/work/SRC/openSUSE:Factory/.perl-DateTime-Format-Natural.new.1928/perl-DateTime-Format-Natural.changes
2026-01-13 21:35:01.329130377 +0100
@@ -1,0 +2,17 @@
+Mon Jan 5 05:53:32 UTC 2026 - Tina Müller <[email protected]>
+
+- updated to 1.230.0 (1.23)
+ see /usr/share/doc/packages/perl-DateTime-Format-Natural/Changes
+
+ 1.23 2026-01-04 <[email protected]>
+ - Merged development version to stable.
+ 1.22_02 2026-01-03 <[email protected]>
+ - Tighten time matching regexes.
+ - Document the new formats.
+ - Assert that parsing time with mixed characters fails.
+ - List "isla w" in credits.
+ 1.22_01 2025-12-31 <[email protected]>
+ - Add support for period character in time and am/pm.
+ [github #24 - isla w]
+
+-------------------------------------------------------------------
Old:
----
DateTime-Format-Natural-1.22.tar.gz
New:
----
DateTime-Format-Natural-1.23.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DateTime-Format-Natural.spec ++++++
--- /var/tmp/diff_new_pack.bSQO4m/_old 2026-01-13 21:35:02.153164412 +0100
+++ /var/tmp/diff_new_pack.bSQO4m/_new 2026-01-13 21:35:02.157164577 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-DateTime-Format-Natural
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name DateTime-Format-Natural
Name: perl-DateTime-Format-Natural
-Version: 1.220.0
+Version: 1.230.0
Release: 0
-# 1.22 -> normalize -> 1.220.0
-%define cpan_version 1.22
+# 1.23 -> normalize -> 1.230.0
+%define cpan_version 1.23
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}
@@ -56,10 +56,10 @@
Provides: perl(DateTime::Format::Natural::Expand) = 0.40.0
Provides: perl(DateTime::Format::Natural::Extract) = 0.140.0
Provides: perl(DateTime::Format::Natural::Formatted) = 0.120.0
-Provides: perl(DateTime::Format::Natural::Helpers) = 0.60.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.720.0
-Provides: perl(DateTime::Format::Natural::Rewrite) = 0.80.0
+Provides: perl(DateTime::Format::Natural::Lang::EN) = 1.730.0
+Provides: perl(DateTime::Format::Natural::Rewrite) = 0.90.0
Provides: perl(DateTime::Format::Natural::Test) = 0.130.0
Provides: perl(DateTime::Format::Natural::Utils) = 0.80.0
Provides: perl(DateTime::Format::Natural::Wrappers) = 0.30.0
++++++ DateTime-Format-Natural-1.22.tar.gz ->
DateTime-Format-Natural-1.23.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Natural-1.22/Changes
new/DateTime-Format-Natural-1.23/Changes
--- old/DateTime-Format-Natural-1.22/Changes 2025-10-01 17:04:00.000000000
+0200
+++ new/DateTime-Format-Natural-1.23/Changes 2026-01-04 21:58:02.000000000
+0100
@@ -1,5 +1,24 @@
Revision history for Perl extension DateTime::Format::Natural.
+1.23 2026-01-04 <[email protected]>
+
+ - Merged development version to stable.
+
+1.22_02 2026-01-03 <[email protected]>
+
+ - Tighten time matching regexes.
+
+ - Document the new formats.
+
+ - Assert that parsing time with mixed characters fails.
+
+ - List "isla w" in credits.
+
+1.22_01 2025-12-31 <[email protected]>
+
+ - Add support for period character in time and am/pm.
+ [github #24 - isla w]
+
1.22 2025-10-01 <[email protected]>
- Merged development version to stable.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Natural-1.22/META.json
new/DateTime-Format-Natural-1.23/META.json
--- old/DateTime-Format-Natural-1.22/META.json 2025-10-01 17:04:00.000000000
+0200
+++ new/DateTime-Format-Natural-1.23/META.json 2026-01-04 21:58:02.000000000
+0100
@@ -54,7 +54,7 @@
"provides" : {
"DateTime::Format::Natural" : {
"file" : "lib/DateTime/Format/Natural.pm",
- "version" : "1.22"
+ "version" : "1.23"
},
"DateTime::Format::Natural::Calc" : {
"file" : "lib/DateTime/Format/Natural/Calc.pm",
@@ -86,7 +86,7 @@
},
"DateTime::Format::Natural::Helpers" : {
"file" : "lib/DateTime/Format/Natural/Helpers.pm",
- "version" : "0.06"
+ "version" : "0.07"
},
"DateTime::Format::Natural::Lang::Base" : {
"file" : "lib/DateTime/Format/Natural/Lang/Base.pm",
@@ -94,11 +94,11 @@
},
"DateTime::Format::Natural::Lang::EN" : {
"file" : "lib/DateTime/Format/Natural/Lang/EN.pm",
- "version" : "1.72"
+ "version" : "1.73"
},
"DateTime::Format::Natural::Rewrite" : {
"file" : "lib/DateTime/Format/Natural/Rewrite.pm",
- "version" : "0.08"
+ "version" : "0.09"
},
"DateTime::Format::Natural::Test" : {
"file" : "lib/DateTime/Format/Natural/Test.pm",
@@ -122,6 +122,6 @@
"url" : "https://github.com/stsc/DateTime-Format-Natural"
}
},
- "version" : "1.22",
+ "version" : "1.23",
"x_serialization_backend" : "JSON::PP version 4.16"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Natural-1.22/META.yml
new/DateTime-Format-Natural-1.23/META.yml
--- old/DateTime-Format-Natural-1.22/META.yml 2025-10-01 17:04:00.000000000
+0200
+++ new/DateTime-Format-Natural-1.23/META.yml 2026-01-04 21:58:02.000000000
+0100
@@ -22,7 +22,7 @@
provides:
DateTime::Format::Natural:
file: lib/DateTime/Format/Natural.pm
- version: '1.22'
+ version: '1.23'
DateTime::Format::Natural::Calc:
file: lib/DateTime/Format/Natural/Calc.pm
version: '1.46'
@@ -46,16 +46,16 @@
version: '0.12'
DateTime::Format::Natural::Helpers:
file: lib/DateTime/Format/Natural/Helpers.pm
- version: '0.06'
+ version: '0.07'
DateTime::Format::Natural::Lang::Base:
file: lib/DateTime/Format/Natural/Lang/Base.pm
version: '1.08'
DateTime::Format::Natural::Lang::EN:
file: lib/DateTime/Format/Natural/Lang/EN.pm
- version: '1.72'
+ version: '1.73'
DateTime::Format::Natural::Rewrite:
file: lib/DateTime/Format/Natural/Rewrite.pm
- version: '0.08'
+ version: '0.09'
DateTime::Format::Natural::Test:
file: lib/DateTime/Format/Natural/Test.pm
version: '0.13'
@@ -84,5 +84,5 @@
resources:
license: http://dev.perl.org/licenses/
repository: https://github.com/stsc/DateTime-Format-Natural
-version: '1.22'
+version: '1.23'
x_serialization_backend: 'CPAN::Meta::YAML version 0.011'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Natural-1.22/README
new/DateTime-Format-Natural-1.23/README
--- old/DateTime-Format-Natural-1.22/README 2025-10-01 17:04:00.000000000
+0200
+++ new/DateTime-Format-Natural-1.23/README 2026-01-04 21:58:02.000000000
+0100
@@ -253,6 +253,7 @@
Olaf Alders
Karen Etheridge
Graham Ollis
+ isla w
SEE ALSO
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DateTime-Format-Natural-1.22/lib/DateTime/Format/Natural/Helpers.pm
new/DateTime-Format-Natural-1.23/lib/DateTime/Format/Natural/Helpers.pm
--- old/DateTime-Format-Natural-1.22/lib/DateTime/Format/Natural/Helpers.pm
2025-10-01 17:04:00.000000000 +0200
+++ new/DateTime-Format-Natural-1.23/lib/DateTime/Format/Natural/Helpers.pm
2026-01-04 21:58:02.000000000 +0100
@@ -10,7 +10,7 @@
our ($VERSION, @EXPORT_OK, %flag);
-$VERSION = '0.06';
+$VERSION = '0.07';
@EXPORT_OK = qw(%flag);
my @flags = (
@@ -117,14 +117,14 @@
my $self = shift;
my ($time, $period) = @_;
- my ($hour) = split /:/, $$time;
+ my ($hour) = split /[:\.]/, $$time;
my %hours = (
am => $hour - (($hour == 12) ? 12 : 0),
pm => $hour + (($hour == 12) ? 0 : 12),
);
- $$time =~ s/^ \d+? (?:(?=\:)|$)/$hours{$period}/x;
+ $$time =~ s/^ \d+? (?:(?=[:\.])|$)/$hours{$period}/x;
}
1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DateTime-Format-Natural-1.22/lib/DateTime/Format/Natural/Lang/EN.pm
new/DateTime-Format-Natural-1.23/lib/DateTime/Format/Natural/Lang/EN.pm
--- old/DateTime-Format-Natural-1.22/lib/DateTime/Format/Natural/Lang/EN.pm
2025-10-01 17:04:00.000000000 +0200
+++ new/DateTime-Format-Natural-1.23/lib/DateTime/Format/Natural/Lang/EN.pm
2026-01-04 21:58:02.000000000 +0100
@@ -14,7 +14,7 @@
use DateTime::Format::Natural::Helpers qw(%flag);
-our $VERSION = '1.72';
+our $VERSION = '1.73';
our (%init,
%timespan,
@@ -47,10 +47,10 @@
%re = (number => qr/(\d+)/,
year => qr/(\d{4})/,
- time => qr/((?:\d{1,2})(?:\:\d{2}(?:\:\d{2}(?:\.\d{3})?)?)?)/,
- time_am => qr/((?:\d{1,2})(?:\:\d{2}(?:\:\d{2}(?:\.\d{3})?)?)?)am/i,
- time_pm => qr/((?:\d{1,2})(?:\:\d{2}(?:\:\d{2}(?:\.\d{3})?)?)?)pm/i,
- time_min => qr/(\d{1,2}\:\d{2}(?:\:\d{2}(?:\.\d{3})?)?)/,
+ time => qr/((?:\d{1,2})(?:([:\.])\d{2}(?:\2\d{2}(?:\.\d{3})?)?)?)/,
+ time_am =>
qr/((?:\d{1,2})(?:([:\.])\d{2}(?:\2\d{2}(?:\.\d{3})?)?)?)a\.?m\.?/i,
+ time_pm =>
qr/((?:\d{1,2})(?:([:\.])\d{2}(?:\2\d{2}(?:\.\d{3})?)?)?)p\.?m\.?/i,
+ time_min => qr/(\d{1,2}([:\.])\d{2}(?:\2\d{2}(?:\.\d{3})?)?)/,
day => qr/(\d+)($suffixes{ordinal})?/i,
monthday => qr/(\d{1,2})($suffixes{ordinal})?/i);
{
@@ -134,8 +134,8 @@
},
from_count_to_count => {
regexes => {
- time_meridiem => qr/\d{1,2}(?:\:\d{2}){0,2}(?:\s*?(?:am|pm))/i,
- time => qr/\d{1,2}(?:\:\d{2}){1,2}/,
+ time_meridiem =>
qr/\d{1,2}(?:[:\.]\d{2}){0,2}(?:\s*?(?:a\.?m\.?|p\.?m\.?))/i,
+ time => qr/\d{1,2}(?:[:\.]\d{2}){1,2}/,
day_ordinal => qr/\d{1,3}(?:$suffixes{ordinal})/i,
day => qr/\d{1,3}/,
},
@@ -203,7 +203,7 @@
{
my ($first_stack, $rest_stack, $pos, $error) = @_;
- my ($hour) = split /:/, $first_stack->{$pos->[0]};
+ my ($hour) = split /[:\.]/, $first_stack->{$pos->[0]};
if ($hour == 0) {
$$error = 'hour zero must be literal 12';
@@ -4882,7 +4882,9 @@
4pm
4:20pm
06:56:06 am
+ 06.56.06 am
06:56:06 pm
+ 06.56.06 pm
mon 2:35
1:00 sun
1am sun
@@ -4891,7 +4893,11 @@
1am on sun
1pm on sun
12:14 PM
+ 12.14 P.M.
+ 12.14 P.M
12:14 AM
+ 12:14 A.M.
+ 12:14 A.M
=head2 Complex
@@ -5102,6 +5108,9 @@
18 oct 5 pm
dec 25
feb 28 3:00
+ feb 28 3.00 pm
+ feb 28 3.00 p.m.
+ feb 28 3.00.15 a.m
feb 28 3am
feb 28 3pm
feb 28 3 am
@@ -5119,6 +5128,7 @@
march 1st 2009
October 2006
february 14, 2004
+ Nov 24th 2006 17.00.00
jan 3 2010
3 jan 2000
2010 october 28
@@ -5130,6 +5140,7 @@
3/1 16:00
4:00
17:00
+ 17.00
3:20:00
-5min
+2d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DateTime-Format-Natural-1.22/lib/DateTime/Format/Natural/Rewrite.pm
new/DateTime-Format-Natural-1.23/lib/DateTime/Format/Natural/Rewrite.pm
--- old/DateTime-Format-Natural-1.22/lib/DateTime/Format/Natural/Rewrite.pm
2025-10-01 17:04:00.000000000 +0200
+++ new/DateTime-Format-Natural-1.23/lib/DateTime/Format/Natural/Rewrite.pm
2026-01-04 21:58:02.000000000 +0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
sub _rewrite
{
@@ -22,7 +22,7 @@
my ($date_string) = @_;
$$date_string =~ tr/,//d;
- $$date_string =~ s/\s+?(am|pm)\b/$1/gi;
+ $$date_string =~ s/\s+?(a\.?m\.?|p\.?m\.?)\b/$1/gi;
}
sub _rewrite_conditional
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/DateTime-Format-Natural-1.22/lib/DateTime/Format/Natural.pm
new/DateTime-Format-Natural-1.23/lib/DateTime/Format/Natural.pm
--- old/DateTime-Format-Natural-1.22/lib/DateTime/Format/Natural.pm
2025-10-01 17:04:00.000000000 +0200
+++ new/DateTime-Format-Natural-1.23/lib/DateTime/Format/Natural.pm
2026-01-04 21:58:02.000000000 +0100
@@ -24,7 +24,7 @@
use DateTime::Format::Natural::Utils qw(trim);
-our $VERSION = '1.22';
+our $VERSION = '1.23';
validation_options(
on_fail => sub
@@ -1013,6 +1013,7 @@
Olaf Alders
Karen Etheridge
Graham Ollis
+ isla w
=head1 SEE ALSO
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Natural-1.22/t/01-parse.t
new/DateTime-Format-Natural-1.23/t/01-parse.t
--- old/DateTime-Format-Natural-1.22/t/01-parse.t 2025-10-01
17:04:00.000000000 +0200
+++ new/DateTime-Format-Natural-1.23/t/01-parse.t 2026-01-04
21:58:02.000000000 +0100
@@ -118,6 +118,8 @@
{ '4{min_sec}{ }pm' => [ '24.11.2006 16:{min_sec}',
truncated ] },
{ '4:20{sec}{ }pm' => [ '24.11.2006 16:20:{sec}',
truncated ] },
{ '06:56:06{ }am' => [ '24.11.2006 06:56:06',
truncated ] },
+ { '06.56.06{ }am' => [ '24.11.2006 06:56:06',
truncated ] },
+ { '06.56.06{ }pm' => [ '24.11.2006 18:56:06',
truncated ] },
{ '06:56:06{ }pm' => [ '24.11.2006 18:56:06',
truncated ] },
{ 'mon 2:35{sec}' => [ '20.11.2006 02:35:{sec}',
truncated ] },
{ '1:00{sec} sun' => [ '26.11.2006 01:00:{sec}',
truncated ] },
@@ -127,7 +129,12 @@
{ '1{min_sec}{ }am on sun' => [ '26.11.2006 01:{min_sec}',
truncated ] },
{ '1{min_sec}{ }pm on sun' => [ '26.11.2006 13:{min_sec}',
truncated ] },
{ '12:14{sec}{ }PM' => [ '24.11.2006 12:14:{sec}',
truncated ] },
+ { '12:14{sec}{ }P.M.' => [ '24.11.2006 12:14:{sec}',
truncated ] },
+ { '12:14{sec}{ }P.M' => [ '24.11.2006 12:14:{sec}',
truncated ] },
{ '12:14{sec}{ }AM' => [ '24.11.2006 00:14:{sec}',
truncated ] },
+ { '12:14{sec}{ }A.M.' => [ '24.11.2006 00:14:{sec}',
truncated ] },
+ { '12:14{sec}{ }A.M' => [ '24.11.2006 00:14:{sec}',
truncated ] },
+
);
my @complex = (
@@ -273,6 +280,9 @@
{ '18 oct {at} 5{min_sec}{ }pm' => [ '18.10.2006 17:{min_sec}',
truncated ] },
{ 'dec 25' => [ '25.12.2006 00:00:00',
truncated ] },
{ 'feb 28 {at} 3:00{sec}' => [ '28.02.2006 03:00:{sec}',
truncated ] },
+ { 'feb 28 {at} 3.00 pm' => [ '28.02.2006 15:00:00',
truncated ] },
+ { 'feb 28 {at} 3.00 p.m.' => [ '28.02.2006 15:00:00',
truncated ] },
+ { 'feb 28 {at} 3.00.15 a.m' => [ '28.02.2006 03:00:15',
truncated ] },
{ 'feb 28 2001 {at} 3:00{sec}' => [ '28.02.2001 03:00:{sec}',
truncated ] },
{ 'feb 28 {at} 3{min_sec}{ }am' => [ '28.02.2006 03:{min_sec}',
truncated ] },
{ 'feb 28 {at} 3{min_sec}{ }pm' => [ '28.02.2006 15:{min_sec}',
truncated ] },
@@ -298,12 +308,14 @@
{ '6' => [ '24.11.2006 06:00:00',
truncated ] },
{ '4:00' => [ '24.11.2006 04:00:00',
truncated ] },
{ '17:00' => [ '24.11.2006 17:00:00',
truncated ] },
+ { '17.00' => [ '24.11.2006 17:00:00',
truncated ] },
+ { 'Nov 24th 2006 {at} 17.00.00' => [ '24.11.2006 17:00:00',
truncated ] },
{ '3:20:00' => [ '24.11.2006 03:20:00',
truncated ] },
{ '-5min' => [ '24.11.2006 01:08:08',
unaltered ] },
{ '+2d' => [ '26.11.2006 01:13:08',
unaltered ] },
);
-_run_tests(691, [ [ \@simple ], [ \@complex ], [ \@specific ] ], \&compare);
+_run_tests(720, [ [ \@simple ], [ \@complex ], [ \@specific ] ], \&compare);
sub compare
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Format-Natural-1.22/t/13-parse_assert.t
new/DateTime-Format-Natural-1.23/t/13-parse_assert.t
--- old/DateTime-Format-Natural-1.22/t/13-parse_assert.t 2025-10-01
17:04:00.000000000 +0200
+++ new/DateTime-Format-Natural-1.23/t/13-parse_assert.t 2026-01-04
21:58:02.000000000 +0100
@@ -5,7 +5,7 @@
use boolean qw(true false);
use DateTime::Format::Natural;
-use Test::More tests => 23;
+use Test::More tests => 25;
{
# Assert for prefixed dates that an extracted unit which is
@@ -140,3 +140,13 @@
$parser = DateTime::Format::Natural->new;
is_deeply([$parser->trace], [], 'trace() without traces returns cleanly');
}
+
+{
+ # Assert that parsing time with mixed characters fails.
+ my $parser = DateTime::Format::Natural->new;
+
+ $parser->parse_datetime('06:56.06 am');
+ ok(!$parser->success, 'parsing time with mixed characters failed');
+ $parser->parse_datetime('06.56:06 am');
+ ok(!$parser->success, 'parsing time with mixed characters failed');
+}
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.bSQO4m/_old 2026-01-13 21:35:02.309170855 +0100
+++ /var/tmp/diff_new_pack.bSQO4m/_new 2026-01-13 21:35:02.313171021 +0100
@@ -1,6 +1,6 @@
-mtime: 1760039883
-commit: dcc2b0e8eb197d4b1cd4987350dd22955ea1b2069626a6ea4973bde2f220cc22
+mtime: 1767592413
+commit: 62f54d502d699d80445cf295e6ed878008aeaf4758d4b379fbee77a9c0df652b
url: https://src.opensuse.org/perl/perl-DateTime-Format-Natural.git
-revision: dcc2b0e8eb197d4b1cd4987350dd22955ea1b2069626a6ea4973bde2f220cc22
+revision: 62f54d502d699d80445cf295e6ed878008aeaf4758d4b379fbee77a9c0df652b
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-01-08 10:09:04.000000000 +0100
@@ -0,0 +1 @@
+.osc