[LON-CAPA-cvs] cvs: loncom /interface portfolio.pm
bisitz
bisitz at source.lon-capa.org
Mon Jul 30 09:10:57 EDT 2012
bisitz Mon Jul 30 13:10:57 2012 EDT
Modified files:
/loncom/interface portfolio.pm
Log:
Localize start and end date output in confirm message after access control change.
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.235 loncom/interface/portfolio.pm:1.236
--- loncom/interface/portfolio.pm:1.235 Fri Jun 8 12:25:59 2012
+++ loncom/interface/portfolio.pm Mon Jul 30 13:10:57 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network
# portfolio browser
#
-# $Id: portfolio.pm,v 1.235 2012/06/08 12:25:59 raeburn Exp $
+# $Id: portfolio.pm,v 1.236 2012/07/30 13:10:57 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -981,11 +981,11 @@
$showstart = &mt('Deleted');
$showend = $showstart;
} else {
- $showstart = localtime($start);
+ $showstart = &Apache::lonlocal::locallocaltime($start);
if ($end == 0) {
$showend = &mt('No end date');
} else {
- $showend = localtime($end);
+ $showend = &Apache::lonlocal::locallocaltime($end);
}
}
$r->print('<td>'.&mt($scope_desc{$scope}));
More information about the LON-CAPA-cvs
mailing list