Skip to content

Commit c430c72

Browse files
committed
v1.80
1 parent ecafae0 commit c430c72

6 files changed

Lines changed: 31 additions & 20 deletions

File tree

CONTRIBUTING.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The distribution is managed with
1414
[Dist::Zilla](https://metacpan.org/release/Dist-Zilla).
1515

1616
However, you can still compile and test the code with the
17-
`MakeFile.PL`
17+
`Makefile.PL`
1818
in the repository:
1919

2020
perl Makefile.PL
@@ -77,7 +77,7 @@ can submit an issue report [via the web](https://github.com/houseabsolute/DateTi
7777
## Continuous Integration
7878

7979
All pull requests for this distribution will be automatically tested using
80-
[Azure Pipelines](https://dev.azure.com/houseabsolute/houseabsolute/_build).
80+
GitHub Actions.
8181

8282
All CI results will be visible in the pull request on GitHub. Follow the
8383
appropriate links for details when tests fail. PRs cannot be merged until tests
@@ -87,11 +87,22 @@ pass.
8787

8888
This distribution uses [precious](https://github.com/houseabsolute/precious)
8989
to enforce a uniform coding style. This is tested as part of the author
90-
testing suite. You can install this and any other necessary non-Perl tools by
91-
running `./dev-bin/install-xt-tools.sh`.
90+
testing suite.
9291

93-
Please run this before committing your changes and address any issues it
94-
brings up.
92+
You can install this and any other necessary non-Perl tools with
93+
[`mise`](https://mise.jdx.dev/). Once you have `mise` installed, you can install this project's dev
94+
tools by running the following commands:
95+
96+
$> mise trust
97+
$> mise install
98+
99+
Then you can use `precious` to tidy and lint your code:
100+
101+
$> precious tidy -a
102+
$> precious lint -a
103+
104+
Please run `precious tidy -a` and `precious lint -a` before committing your
105+
changes and address any issues that it reports.
95106

96107
You can also set up a git pre-commit hook that checks all changed files for
97108
linting issues by running `./git/setup.pl`.
@@ -107,4 +118,4 @@ request to the `.mailmap` file to contain the correct mapping.
107118
## Generated By
108119

109120
This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir 0.015 from a
110-
template file originating in Dist-Zilla-PluginBundle-DROLSKY-1.18.
121+
template file originating in Dist-Zilla-PluginBundle-DROLSKY-1.24.

Changes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{{$NEXT}}
22

3+
1.80 2025-12-06
4+
35
* Fix the parse_datetime docs to state that it returns either an empty list of undef when it cannot
46
parse the given string, depending on the context. Previously, the docs said it always returned
57
undef, which is not true. Reported by @falsifian (James Cook). GH #33.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This software is Copyright (c) 2015 - 2021 by Dave Rolsky.
1+
This software is Copyright (c) 2015 - 2025 by Dave Rolsky.
22

33
This is free software, licensed under:
44

Makefile.PL

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This Makefile.PL for DateTime-Format-Strptime was generated by
2-
# Dist::Zilla::Plugin::DROLSKY::MakeMaker 1.18
3-
# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
2+
# Dist::Zilla::Plugin::DROLSKY::MakeMaker 1.24
3+
# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.49.
44
# Don't edit it but the dist.ini and plugins used to construct it.
55

66
use strict;

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ DateTime::Format::Strptime - Parse and format strp and strf time patterns
44

55
# VERSION
66

7-
version 1.79
7+
version 1.80
88

99
# SYNOPSIS
1010

@@ -128,7 +128,8 @@ Given a string in the pattern specified in the constructor, this method will
128128
return a new `DateTime` object.
129129

130130
If given a string that doesn't match the pattern, the formatter will croak or
131-
return undef, depending on the setting of `on_error` in the constructor.
131+
return an empty list or `undef`, depending on the setting of `on_error` in
132+
the constructor.
132133

133134
## $strptime->format\_datetime($datetime)
134135

@@ -350,8 +351,6 @@ This module was created by Rick Measham.
350351

351352
`datetime@perl.org` mailing list.
352353

353-
http://datetime.perl.org/
354-
355354
[perl](https://metacpan.org/pod/perl), [DateTime](https://metacpan.org/pod/DateTime), [DateTime::TimeZone](https://metacpan.org/pod/DateTime%3A%3ATimeZone), [DateTime::Locale](https://metacpan.org/pod/DateTime%3A%3ALocale)
356355

357356
# BUGS
@@ -366,8 +365,6 @@ Bugs may be submitted at [https://github.com/houseabsolute/DateTime-Format-Strpt
366365
There is a mailing list available for users of this distribution,
367366
[mailto:datetime@perl.org](mailto:datetime@perl.org).
368367

369-
I am also usually active on IRC as 'autarch' on `irc://irc.perl.org`.
370-
371368
# SOURCE
372369

373370
The source code repository for DateTime-Format-Strptime can be found at [https://github.com/houseabsolute/DateTime-Format-Strptime](https://github.com/houseabsolute/DateTime-Format-Strptime).
@@ -387,7 +384,7 @@ software much more, unless I get so many donations that I can consider working
387384
on free software full time (let's all have a chuckle at that together).
388385

389386
To donate, log into PayPal and send money to autarch@urth.org, or use the
390-
button at [https://www.urth.org/fs-donation.html](https://www.urth.org/fs-donation.html).
387+
button at [https://houseabsolute.com/foss-donations/](https://houseabsolute.com/foss-donations/).
391388

392389
# AUTHORS
393390

@@ -404,7 +401,7 @@ button at [https://www.urth.org/fs-donation.html](https://www.urth.org/fs-donati
404401

405402
# COPYRIGHT AND LICENSE
406403

407-
This software is Copyright (c) 2015 - 2021 by Dave Rolsky.
404+
This software is Copyright (c) 2015 - 2025 by Dave Rolsky.
408405

409406
This is free software, licensed under:
410407

cpanfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.017
1+
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.036
22
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
33

44
requires "Carp" => "0";
@@ -48,6 +48,7 @@ on 'develop' => sub {
4848
requires "Capture::Tiny" => "0";
4949
requires "Cwd" => "0";
5050
requires "DateTime::Locale" => "1.30";
51+
requires "Encode" => "0";
5152
requires "File::Spec" => "0";
5253
requires "FindBin" => "0";
5354
requires "IO::Handle" => "0";
@@ -69,7 +70,7 @@ on 'develop' => sub {
6970
requires "Test::Pod" => "1.41";
7071
requires "Test::Pod::Coverage" => "1.08";
7172
requires "Test::Portability::Files" => "0";
72-
requires "Test::Spelling" => "0.12";
73+
requires "Test::Spelling" => "0.17";
7374
requires "Test::Version" => "2.05";
7475
requires "perl" => "5.006";
7576
};

0 commit comments

Comments
 (0)