[LON-CAPA-cvs] cvs: loncom /interface lonmsg.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Thu, 10 May 2007 00:50:52 -0000
albertel Wed May 9 20:50:52 2007 EDT
Modified files:
/loncom/interface lonmsg.pm
Log:
- internationalize
Index: loncom/interface/lonmsg.pm
diff -u loncom/interface/lonmsg.pm:1.208 loncom/interface/lonmsg.pm:1.209
--- loncom/interface/lonmsg.pm:1.208 Wed May 9 19:53:15 2007
+++ loncom/interface/lonmsg.pm Wed May 9 20:50:52 2007
@@ -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 @@
&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);
}
}