peculiar date format

Asked by Erwin Olario on 2009-05-04

I'm wondering why the date is formatted as mm dd, yy - mm dd, yy when listing school years. I was expecting it in mmm dd yyyy, or as set in my site preference: yyyy/mm/dd.

If I wasn't able to make myself clear, please look at the screenshot here:

Question information

English Edit question
SchoolTool Edit question
No assignee Edit question
Solved by:
Ignas Mikalaj┼źnas
Last query:
Last reply:
Best Ignas Mikalaj┼źnas (ignas) said : #1

Concerning the code - someone should replace mediumDate formatter to shortDate in:


As for the explanation - we are trying to use the language set in your browser preferences as the guide when formatting dates, and date format setting in the site preferences is ignored most of the time. Even if it was not - there are 3 different formats for dates short/medium/long that are used around schooltool, and in the preferences you can only select the "short" format.

If you would "fix" the language setting in /etc/schooltool/schooltool-2009/main.conf by adding something like "lang en" that would disable the language autodetection. I am not sure if it would change the date format used though, as it might be the standard English medium date format.

Erwin Olario (gowin) said : #2

Thanks for the "fix". It looks less confusing now.