Skip to content

Commit

Permalink
Fixed test failures for copyright format and trailing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Util committed Sep 16, 2015
1 parent 0c5754f commit 865ebc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/dev/new_changelog_skeleton.pl
@@ -1,5 +1,5 @@
#! perl
# Copyright (C) 2012-2013, 2015, Parrot Foundation.
# Copyright (C) 2012-2015, Parrot Foundation.

use strict;
use warnings;
Expand Down Expand Up @@ -34,7 +34,7 @@ sub military_to_iso_date {
my $c = 1;
my @months = qw( Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec );
my %months = map { uc($_) => sprintf('%02d', $c++) } @months;
my $months = join '|', @months;
my $months = join '|', @months;
$in_date =~ m{ \A \s* (\d{2}) \s ($months) \s (\d{4}) \s* \z }msix
or die;
return sprintf '%04d-%02d-%02d', $3, $months{uc $2}, $1;
Expand Down

0 comments on commit 865ebc6

Please sign in to comment.