|
|
|
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 » |
made changes - 30/Jan/07 10:37 PM
|
Assignee
|
Martin Dougiamas
[ dougiamas
]
|
Petr ?koda
[ skodak
]
|
made changes - 23/Mar/07 02:49 AM
|
Affects Version/s
|
1.6.2
[ 10119
]
|
|
|
Affects Version/s
|
1.5.4
[ 10109
]
|
|
|
Affects Version/s
|
1.6.3
[ 10140
]
|
|
|
Affects Version/s
|
1.5
[ 10102
]
|
|
|
Component/s
|
|
Languages
[ 10089
]
|
|
Affects Version/s
|
|
1.8
[ 10130
]
|
|
Affects Version/s
|
1.5.2
[ 10107
]
|
|
|
Affects Version/s
|
1.6.1
[ 10118
]
|
|
|
Affects Version/s
|
1.5.1
[ 10106
]
|
|
|
Affects Version/s
|
1.5.3
[ 10108
]
|
|
|
Component/s
|
Lib
[ 10096
]
|
|
made changes - 23/Mar/07 02:54 AM
|
Summary
|
Problem with time representation in multilingual environment (userdate)
|
Problem with time representation in pt language pack
|
made changes - 23/Mar/07 02:58 AM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
made changes - 27/Feb/08 02:49 AM
|
Resolution
|
Fixed
[ 1
]
|
|
|
Status
|
Resolved
[ 5
]
|
Reopened
[ 4
]
|
made changes - 11/Mar/08 04:29 AM
|
Affects Version/s
|
|
1.8.3
[ 10230
]
|
|
Affects Version/s
|
|
1.8.1
[ 10213
]
|
|
Affects Version/s
|
1.6
[ 10110
]
|
|
|
Affects Version/s
|
|
1.8.2
[ 10220
]
|
|
Summary
|
Problem with time representation in pt language pack
|
Problem with time representation in multilang environment with some locales
|
|
Affects Version/s
|
1.7
[ 10120
]
|
|
|
Affects Version/s
|
|
1.8.4
[ 10242
]
|
made changes - 02/Apr/08 10:25 PM
|