PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Internationalization » I18N » Bug #4142

Error in I18N_DateTime::getMonthName method

Details

Submitted2005-04-14 08:47 UTC
Fromp dot tomicki at digitalone dot pl
StatusWont fix
PackageI18N
PHP VersionIrrelevant
OSWindows XP
Roadmaps(Not assigned)

Comments

[2005-04-14 08:47 UTC] p dot tomicki at digitalone dot pl

Description:
------------
There is error in class I18N_DateTime in method getMonthName() - When I could never get the name of January in my language ( polish ) but I get name of December !

Reproduce code:
---------------
There is :

if ($which==null) {
..
}

Should be :

if ($which===null) {
..
}

Expected result:
----------------
I will get correct name of every month

[2005-05-13 12:44 UTC] p dot tomicki at digitalone dot pl

a