Hi,

How to commit minor fix to have output date string with two digits?

--- tahlib.pm   Révision : 23649
+++ tahlib.pm   Copie
@@ -31,7 +31,7 @@

     if ($Config->get("DateTimeString"))
     {
-        my ($s, $i, $h, $d, $m, $y) = (localtime)[0..7];
+        my ($s, $i, $h, $d, $m, $y) = map { sprintf("%02d",$_) }
(localtime)[0..7];
         ++$m;
         my $Y = $y + 1900;
         $y = $y % 100; # two-digit year


Regards
   benni_75

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to