Bug #14742 Updated: Example is wrong
| From: | imajes@php.net | Date: | Fri, 04 Jan 2002 05:58:46 +0000 |
| Subject: | Bug #14742 Updated: Example is wrong | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-75848@lists.php.net to get a copy of this message | ||
ID: 14742
Updated by: imajes
Reported By: php@genealogie.com
Old Status: Open
Status: Closed
Bug Type: Documentation problem
Old Operating System: don't care
Operating System: don\'t care
PHP Version: 4.1.1
New Comment:
I've updated the documentation.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2001-12-28 13:15:52] php@genealogie.com
http://download.php.net/manual/en/function.strftime.php
This is a mistake.
print (strftime ("%A, in French "));
setlocale ("LC_TIME", "fr_CA");
fr is the French language
CA is a country, Canada in this case.
So, fr_CA is likely Quebec Time or Eastern Time.
This example should be replaced with:
print (strftime ("%A, in French "));
setlocale ("LC_TIME", "fr_FR");
Denis
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14742&edit=1