[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

www lon-capa-cvs@mail.lon-capa.org
Thu, 02 Sep 2004 13:38:36 -0000


www		Thu Sep  2 09:38:36 2004 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Bug #3406: mktime does a very nice job of deciding if it's daylight savings
  time or not ... explicitly say that "we don't know"
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.209 loncom/interface/loncommon.pm:1.210
--- loncom/interface/loncommon.pm:1.209	Thu Aug 26 18:41:33 2004
+++ loncom/interface/loncommon.pm	Thu Sep  2 09:38:35 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.209 2004/08/26 22:41:33 albertel Exp $
+# $Id: loncommon.pm,v 1.210 2004/09/02 13:38:35 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2331,7 +2331,7 @@
     my %th=@_;
     return POSIX::mktime(
         ($th{'seconds'},$th{'minutes'},$th{'hours'},
-         $th{'day'},$th{'month'}-1,$th{'year'}-1900,0,0,$th{'dlsav'}));
+         $th{'day'},$th{'month'}-1,$th{'year'}-1900,0,0,-1));
 }
 
 #########################################