Skip to content

Commit

Permalink
Month has a capital letter, so we need /i
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Mar 22, 2023
1 parent 3393ddc commit bfb6e2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/make_default_data.pl
Expand Up @@ -81,6 +81,7 @@ =head1 COPYRIGHT AND LICENSE
#
#
# Thu, 16 Mar 2023 20:59:31 GMT
say "DATE: $data->{_date}";
my( $day, $mon, $year ) = $data->{_date} =~ m/
# Thu, 16 Mar 2023 20:59:31 GMT
\A
Expand All @@ -89,7 +90,7 @@ =head1 COPYRIGHT AND LICENSE
(?<day> \d+ ) \s
(?<mon> [a-z]+ ) \s
(?<year> \d+ )
/x;
/ix;

my $new_version_date = sprintf '%4d%02d%02d', @+{qw(year mon day)};
my $current_date = Business::ISBN::Data->VERSION;
Expand Down

0 comments on commit bfb6e2c

Please sign in to comment.