Merge branch 'master' of /opt/git/clearscm
[clearscm.git] / lib / DateUtils.pm
index b8c1f49..f106394 100644 (file)
@@ -711,6 +711,8 @@ Returns:
   my $AmPm    = $hours > 12 ? "Pm" : "Am";
 
   $hours = $hours - 12 if $hours > 12;
+  
+  $hours = "0$hours" if length $hours == 1;
 
   return "$hours:$minutes $AmPm";
 } # FormatTime
@@ -1260,7 +1262,7 @@ Returns:
 
 =head3 Perl Modules
 
-=for html <p><a href="/php/cvs_man.php?file=lib/Display.pm">Display</a></p>
+=for html <p><a href="/php/scm_man.php?file=lib/Display.pm">Display</a></p>
 
 =head1 INCOMPATABILITIES