=================================================================== RCS file: /cvs/openbsd/OpenBSDTorrents/CurrentTorrents.pl,v retrieving revision 1.7 retrieving revision 1.9 diff -u -r1.7 -r1.9 --- openbsd/OpenBSDTorrents/CurrentTorrents.pl 2005/03/28 22:52:01 1.7 +++ openbsd/OpenBSDTorrents/CurrentTorrents.pl 2005/04/06 23:28:05 1.9 @@ -1,5 +1,5 @@ #!/usr/bin/perl -T -#$Id: CurrentTorrents.pl,v 1.7 2005/03/28 22:52:01 andrew Exp $ +#$Id: CurrentTorrents.pl,v 1.9 2005/04/06 22:28:05 andrew Exp $ use strict; use warnings; use diagnostics; @@ -7,7 +7,7 @@ use BT::MetaInfo; use Time::Local; -use lib '/usr/local/bin/OpenBSDTorrents/lib'; +use lib 'lib'; use OpenBSDTorrents; %ENV = (); @@ -28,6 +28,7 @@ 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); #print "Adding $_\n";