PHP 4.0 Bug #6946: date should use the current locale, instead of always returning dates in englis

From: Date: Fri, 29 Sep 2000 21:14:21 +0000
Subject: PHP 4.0 Bug #6946: date should use the current locale, instead of always returning dates in englis
Groups: php.dev 
Request: Send a blank email to php-dev+get-33873@lists.php.net to get a copy of this message
From: wico@cnh.nl 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

« previous php.dev (#33873) next »