--- loncom/interface/lonhtmlcommon.pm 2010/11/29 04:40:12 1.253.2.6 +++ loncom/interface/lonhtmlcommon.pm 2010/12/02 13:47:17 1.253.2.7 @@ -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 @@ sub get_date_from_form { if (&Apache::lonlocal::gettimezone($timezone) eq 'local') { $timezone = &Apache::lonlocal::gettimezone(); } + } else { + $timezone = &Apache::lonlocal::gettimezone(); } my $dt = DateTime->new( year => $year, month => $month,