--- a/branches/2.6/cgi-bin/yabb2/Admin/Ban.pm
+++ b/branches/2.6/cgi-bin/yabb2/Admin/Ban.pm
@@ -14,16 +14,16 @@
 ###############################################################################
 use CGI::Carp qw(fatalsToBrowser);
 use CGI qw(:standard);
-use Time::Local 'timelocal';
+use Time::Local;
 our $VERSION = '2.6.0';
 
-$banpmver = 'YaBB 2.6.0 $Revision: 1448 $';
+$banpmver = 'YaBB 2.6.0 $Revision: 1451 $';
 
 #the ban list in the Admin Center
 sub ipban {
     is_admin_or_gmod();
 
-    use Time::localtime;
+    use Time::gmtime;
     fopen( BAN, "<$vardir/banlist.txt" ) || fatal_error( 'cannot_open', "$vardir/banlist.txt", 1 );
     @banlist = <BAN>;
     fclose(BAN);
@@ -397,10 +397,10 @@
     my @mybanlog = <BANLOG>;
     chomp @mybanlog;
     fclose(BANLOG);
-    use Time::localtime;
+    use Time::gmtime;
     for my $ban (@mybanlog) {
         @banned = split /\|/xsm, $ban;
-        $tm     = localtime $banned[0];
+        $tm     = gmtime $banned[0];
         $year   = $tm->year + 1900;
         $mon    = $tm->mon + 1;
         $day    = $tm->mday;