Date localization

Bug #80160 reported by Marius Gedminas
10
Affects Status Importance Assigned to Milestone
SchoolTool
Triaged
Low
Justas Sadzevičius

Bug Description

SchoolTool currently stores strftime-style date formats such as '%d %B, %Y' in
person preferences. This will result in incorrectly translated month names if
the system's locale does not match user's language (which may be determined from
the browser-sent headers).

We could use zope's locale time formatters instead of strftime (or in addition
to). See ILocaleDates.getFormatter. There are four options then: short,
medium, long and full, so it is meaningful to keep the preference, but change
the set of choices.

Tags: i18n datetime
Changed in schooltool:
assignee: nobody → ignas
Changed in schooltool:
status: New → Triaged
tags: added: datetime
Changed in schooltool:
assignee: Ignas Mikalajūnas (ignas) → Justas Sadzevičius (justas-pov)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.