PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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