|
|
|
The problem:
php's strftime uses locale information and %p (ante-meridian, post-meridian modifier) is setted to null in many locales,
which is partially correct because it is not used on that locale.
If you have a multilingual environment you still have one locale, in my case portuguese and we use 24h format, however
there are pages written in english where the time representation uses %p, thus the effect is that time is represented in a
12-hour format and with a blank for %p.
Solution:
Set a default if %p is empty.
|
|
Description
|
The problem:
php's strftime uses locale information and %p (ante-meridian, post-meridian modifier) is setted to null in many locales,
which is partially correct because it is not used on that locale.
If you have a multilingual environment you still have one locale, in my case portuguese and we use 24h format, however
there are pages written in english where the time representation uses %p, thus the effect is that time is represented in a
12-hour format and with a blank for %p.
Solution:
Set a default if %p is empty. |
Show » |
committed 2 files to 'Lang CVS' - 23/Mar/07 03:49 AM
| MDL-7645 problem with time representation in portuguese language pack
|
|
|
committed 2 files to 'Lang CVS' - 02/Apr/08 10:53 PM
|