--- loncom/interface/lonhtmlcommon.pm 2008/03/06 22:30:17 1.173 +++ loncom/interface/lonhtmlcommon.pm 2008/05/29 00:19:30 1.174 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.173 2008/03/06 22:30:17 raeburn Exp $ +# $Id: lonhtmlcommon.pm,v 1.174 2008/05/29 00:19:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -463,16 +463,21 @@ ENDJS $cal_link = qq{}; } # + my $dt = DateTime->from_epoch(epoch => $currentvalue) + ->set_time_zone(&Apache::lonlocal::gettimezone()); + my $tzone = ' '.$dt->time_zone_short_name().' '; if ($no_hh_mm_ss) { $result .= &mt('[_1] [_2] [_3] ', - $monthselector,$dayselector,$yearselector); + $monthselector,$dayselector,$yearselector). + $tzone; if (!$nolink) { $result .= &mt('[_1]Select Date[_2]',$cal_link,''); } } else { $result .= &mt('[_1] [_2] [_3] [_4] [_5]m [_6]s ', $monthselector,$dayselector,$yearselector, - $hourselector,$minuteselector,$secondselector); + $hourselector,$minuteselector,$secondselector). + $tzone; if (!$nolink) { $result .= &mt('[_1]Select Date[_2]',$cal_link,''); }