[LON-CAPA-cvs] cvs: loncom(GCI_3) /interface lonhtmlcommon.pm

raeburn raeburn@source.lon-capa.org
Thu, 02 Dec 2010 13:47:18 -0000


raeburn		Thu Dec  2 13:47:18 2010 EDT

  Modified files:              (Branch: GCI_3)
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  - Customization for GCI_3.
    - Default time zone if none defined.
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.253.2.6 loncom/interface/lonhtmlcommon.pm:1.253.2.7
--- loncom/interface/lonhtmlcommon.pm:1.253.2.6	Mon Nov 29 04:40:12 2010
+++ loncom/interface/lonhtmlcommon.pm	Thu Dec  2 13:47:17 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.253.2.6 2010/11/29 04:40:12 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.253.2.7 2010/12/02 13:47:17 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -700,6 +700,8 @@
             if (&Apache::lonlocal::gettimezone($timezone) eq 'local') {
                 $timezone = &Apache::lonlocal::gettimezone();
             }
+        } else {
+            $timezone = &Apache::lonlocal::gettimezone();
         }
         my $dt = DateTime->new( year   => $year,
                                 month  => $month,