[PHP-DEV] PHP 4.0 Bug #6946: date should use the current locale, instead of always returning dates in englis From: wico <email protected>
Date: 09/29/00

From: wico <email protected>
Operating system: linux
PHP version: 4.0 Latest CVS (29/09/2000)
PHP Bug Type: Date/time related
Bug description: date should use the current locale, instead of always returning dates in englis

Hiya

date should use the current locale, instead of always returning dates in english

setlocale(LC_TIME, "nl_NL");
$temp = date("d M Y H:i", time()); //this still gives the english date
$temp = strftime("%d %b %Y %H:%M", time()); //this gives the correct, dutch date

Greetz,

Wico

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>