Skip to content
Snippets Groups Projects
Commit e807691d authored by Karl Fogel's avatar Karl Fogel
Browse files

Change from Melissa O'Neill <oneill@cs.sfu.ca>:

Oops.  Forgot seconds in parse_date_and_author.
parent c87016b6
No related branches found
No related tags found
No related merge requests found
......@@ -339,7 +339,7 @@ sub parse_date_and_author ()
or die "Couldn't parse date ``$line''";
die "Bad date or Y2K issues" unless ($year > 1969 and $year < 2258);
# Kinda arbitrary, but useful as a sanity check
my $time = timegm(0,$min,$hours,$mday,$mon-1,$year-1900);
my $time = timegm($secs,$min,$hours,$mday,$mon-1,$year-1900);
return ($time, $author);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment