Welcome Guest, Not a member yet? Register   Sign In
CI 1.7.2 Bug found after upgrading from 1.7.1
#1

[eluser]Unknown[/eluser]
libraries/Calendar.php:

function get_month_name() : line 273.

May is written as : mayl

Looks like a Copy-Past from April , and forgot the 'l' ;-)
#2

[eluser]Pascal Kriete[/eluser]
It's actually done on purpose. mayl is the language key for the long name.

We have two ways to display the month. It can either say "Dec" or "December". The language keys use the equivalent values. So it's lang("cal_dec") and lang("cal_december"). May is a bit of a problem since it only has 3 letters. In english you could use the same language key, but we can't make that assumption for other languages.

Thanks for the report.




Theme © iAndrew 2016 - Forum software by © MyBB