--- loncom/interface/lonmsg.pm 2007/05/09 23:53:15 1.208 +++ loncom/interface/lonmsg.pm 2007/05/10 00:50:52 1.209 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging # -# $Id: lonmsg.pm,v 1.208 2007/05/09 23:53:15 raeburn Exp $ +# $Id: lonmsg.pm,v 1.209 2007/05/10 00:50:52 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -351,8 +351,8 @@ to access the full message.',$url); &Apache::loncommon::blockcheck(\%setters,'com',$touname,$toudom); if ($startblock && $endblock) { $blocked = 1; - my $showstart = localtime($startblock); - my $showend = localtime($endblock); + my $showstart = &Apache::lonlocal::locallocaltime($startblock); + my $showend = &Apache::lonlocal::locallocaltime($endblock); $blocktext = &mt('LON-CAPA messages sent to you between [_1] and [_2] will be inaccessible until the end of this time period, because you are a student in a course with an active communications block.',$showstart,$showend); } }