Mail notification is formatting dates with changer's locale
Our installation default language is PT-BR but some users have EN configured as user language for their personal accounts.
The date formats are:
pt-BR: "DD/MM/YYYY" and
When someone makes a change in the dates (start date/due date) using Redmine in EN, the email notifications for those users using PT-BR come almost completely localized with the exception of the dates that are coming in the changers locale format.
This can lead to problems with dates like 10/mar/2015 which will be formatted as 10/03/2015 for PT-BR and 03/10/2015 for EN.
The dates seem to be correctly saved in the database as opening the issue in the browser shows the dates correctly localized.
My environment is as follows:
Environment: Redmine version 2.6.0.stable Ruby version 2.1.1-p76 (2014-02-24) [x86_64-linux] Rails version 3.2.19 Environment production Database adapter Mysql2 SCM: Subversion 1.8.10 Mercurial 1.3.1 Cvs 1.12.13 Git 1.8.0 Filesystem Redmine plugins: redmine_better_gantt_chart 0.9.0
Updated by Rafael Vargas over 8 years ago
My default language is is set to PT-BR, and I'm not forcing the default language anywhere.
But these are the date and time settings:
Start calendars on: Based on user's language
Date format: Based on user's language
Time format: Based on user's language