cook: parse ctime(3) output correctly
Junio C Hamano committed
May 2, 2010 at 07:54 UTC
a7a43d78d5471de8eea9c4de23a13b05c99cada7
1 file changed
+1
-1
cook
+1
-1
index e76a6e9593..03581f441d 100755
--- a/cook
+++ b/cook
@@ -444,7 +444,7 @@ sub update_issue {
my $now_string = localtime;
my ($current_dow, $current_mon, $current_date, $current_year) =
- ($now_string =~ /^(\w+) (\w+) (\d+) [\d:]+ (\d+)$/);
+ ($now_string =~ /^(\w+) (\w+) +(\d+) [\d:]+ (\d+)$/);
my $btext = $cooking->{'topic_description'}{$blurb}{'text'};
if ($btext !~ s/\A$blurb_match//) {