Am 20.10.2010 14:33, schrieb [email protected]:
> Hi,
> 
> Frédéric Benninger wrote:
>> 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
>>
> Fixed.
> I also removed the square brackets around "DateTimeString", so if you
> want them back you should edit "DateTimeString" in file "tilesAtHome.conf".

Please *always* commit any changes to trunk first, or they will be lost
on the next client version name change.

-- 
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0901°N 8.7868°E

Ceterum censeo Carthaginem esse delendam.

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to