=================================================================== RCS file: /cvs/openbsd/OpenBSDTorrents/ServerTorrents.pl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- openbsd/OpenBSDTorrents/ServerTorrents.pl 2005/03/29 00:28:50 1.6 +++ openbsd/OpenBSDTorrents/ServerTorrents.pl 2005/03/31 01:14:48 1.7 @@ -1,5 +1,5 @@ #!/usr/bin/perl -T -#$Id: ServerTorrents.pl,v 1.6 2005/03/29 00:28:50 andrew Exp $ +#$Id: ServerTorrents.pl,v 1.7 2005/03/31 01:14:48 andrew Exp $ use strict; use warnings; use diagnostics; @@ -64,6 +64,8 @@ chomp; my ($name, $year, $mon, $mday, $hour, $min) = /^(.*)-(\d{4})-(\d{2})-(\d{2})-(\d{2})(\d{2})/; + + $mon--; my $epoch = timegm(0,$min,$hour,$mday,$mon,$year);