Browse Source

cook: parse ctime(3) output correctly

todo
Junio C Hamano 15 years ago
parent
commit
a7a43d78d5
  1. 2
      cook

2
cook

@ -444,7 +444,7 @@ sub update_issue { @@ -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//) {

Loading…
Cancel
Save