ID: 23871
Comment by: michael dot mauch at gmx dot de
Reported By: toni dot viemero at iki dot fi
Status: Open
Bug Type: Date/time related
Operating System: Debian Woody
PHP Version: 4.3.2
New Comment:
I can see that same extra space if I run "date" on the command line:
% LC_ALL=fi_FI date +%d-%b-%Y
29-touko -2003
It's the same on Debian and on SuSE.
Ceterum censeo: I vote for changing that "home-grown" date format to
the ISO-8601 format (%Y-%m-%d).
Previous Comments:
------------------------------------------------------------------------
[2003-05-29 07:04:02] toni dot viemero at iki dot fi
error_log() and setlocale() with finnish locales has extra
space after abbreviated month name, making error log
"unreadable".
.htaccess in docroot has log_errors and error_log set:
php_flag log_errors On
php_value error_log /tmp/php.error_log
test.php:
<?php
setlocale(LC_ALL, 'fi_FI');
error_log("foo");
from php.error_log:
[29-touko -2003 14:51:49] foo
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23871&edit=1