[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm

bisitz bisitz@source.lon-capa.org
Mon, 21 Sep 2009 17:09:22 -0000


bisitz		Mon Sep 21 17:09:22 2009 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  Localized display of start and end dates on existing roles screen
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.314 loncom/interface/loncreateuser.pm:1.315
--- loncom/interface/loncreateuser.pm:1.314	Thu Sep 10 23:04:52 2009
+++ loncom/interface/loncreateuser.pm	Mon Sep 21 17:09:22 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.314 2009/09/10 23:04:52 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.315 2009/09/21 17:09:22 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1430,9 +1430,9 @@
             }
             $row.= '</td><td>'.$plaintext.
                    '</td><td>'.$area.
-                   '</td><td>'.($role_start_time?localtime($role_start_time)
+                   '</td><td>'.($role_start_time?&Apache::lonlocal::locallocaltime($role_start_time)
                                                 : '&nbsp;' ).
-                   '</td><td>'.($role_end_time  ?localtime($role_end_time)
+                   '</td><td>'.($role_end_time  ?&Apache::lonlocal::locallocaltime($role_end_time)
                                                 : '&nbsp;' )
                    ."</td>";
             $sortrole{$sortkey}=$envkey;