[PHP-DOC] Bug #14742 Updated: Example is wrong From: imajes <email protected>
Date: 01/04/02

ID: 14742
Updated by: imajes
Reported By: php <email protected>
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 <email protected>

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