Week days and months naming problem with localisation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eventum |
Fix Released
|
Low
|
Elan Ruusamäe |
Bug Description
Hi,
I'd like to report a small bug with localisation of week days and months. I use Eventum in Polish, and it works nicely, everything is sent in UTF-8 but the date fails. Thus if the three leter "code" for date contains Polish diacritics, it will fail and display some unknown characters instead. This behavior is the same both in Eventum 2.2 and 2.3. Here's an example (HTML source), this is the Creation date for a ticket:
<b>Data utworzenia:</b>
</td>
<td bgcolor="#DDDDDD" class="default">
pi�, 03 gru 2010, 17:10:11 CET
</td>
Now Friday in Polish is "piątek", but the proper abbreviation, according to a Polish dictionary is "pt.", not "pią". Here's what I think happends: Eventum just cuts the three bytes (chars) from the full day name, and since the third letter is a Unicode letter, thus is comprised of two bytes. Eventum only takes the first byte of the two-byte letter ą and that in the end is displayed as �. A similar problem is observed with month names - October is "październik", so the third letter would be badly displayed again.
Switching to just different style formatting would be brilliant - so having full weekday like Friday 2010-12-03 instead. Is there an easy way to do this?
Thanks a lot!
Cheers,
NIXin
Changed in eventum: | |
milestone: | none → 2.3.4 |
Changed in eventum: | |
milestone: | 2.3.4 → 2.4 |
that's a know bug, the fix is to rework date handling classes, which is huge work
because current version is idiot, it just copies first 3 octal bytes to get short date, even if pear provides function for short dates.
easy way is to use english ui :)