From:             toni dot viemero at iki dot fi
Operating system: Debian Woody
PHP version:      4.3.2
PHP Bug Type:     Date/time related
Bug description:  error_log() with finnish setlocale() produces invalid timestamp

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 bug report at http://bugs.php.net/?id=23871&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23871&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23871&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23871&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23871&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23871&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23871&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23871&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23871&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23871&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23871&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23871&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23871&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23871&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23871&r=gnused

Reply via email to