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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 24 Aug 2004 22:07:51 -0000


albertel		Tue Aug 24 18:07:51 2004 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - BUG#3351, nav might show the "wrong" year.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.278 loncom/interface/lonnavmaps.pm:1.279
--- loncom/interface/lonnavmaps.pm:1.278	Mon Aug 23 17:05:03 2004
+++ loncom/interface/lonnavmaps.pm	Tue Aug 24 18:07:51 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.278 2004/08/23 21:05:03 albertel Exp $
+# $Id: lonnavmaps.pm,v 1.279 2004/08/24 22:07:51 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -666,7 +666,7 @@
         }
 
         # Not this year, so show the year
-        my $timeStr = strftime("on %A, %b %e %G at %I:%M %P", localtime($time));
+        my $timeStr = strftime("on %A, %b %e %Y at %I:%M %P", localtime($time));
         $timeStr =~ s/12:00 am/00:00/;
         $timeStr =~ s/12:00 pm/noon/;
         return $timeStr;