Ticket #1671 (new defect) — at Initial Version

Opened 12 years ago

Last modified 12 years ago

i18n_checktimelength may vary depending on the season

Reported by: sfionov Owned by:
Priority: major Milestone: 4.7.2
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:


On some systems i18n_checktimelength may vary not only depending on locale but also on the current month.

For example, with Russian locale on Solaris, 9th month %b is "сент.", 10th month is "окт.".
So, this function returns 14 in September, and 13 in October. September dates are cut in October, and "ент." is displayed.

Change History

Changed 12 years ago by sfionov

Cycle around all months to determine maximum time string length.

Note: See TracTickets for help on using tickets.