Content
View differences
Updated by Aleix Suau over 5 years ago
In OP the locale seems to be linked to the user's language and it defaults to en-US locale, which can lead to surprising issues like [this](https://community.openproject.com/projects/openproject/work_packages/35333) (US had 1 week less in 2020):
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20097/content"></div></figure>
Furthermore, it seems that the user is not able to set the correct locale because OP doesn't offer all the language/locale options.
Because the locale is common to the entire project and affects the way the project is managed (it is used by our dates library (moment)), maybe it should be an administrator setting. Other approaches could be to offer different languages that would set the correct locales (e.g. en-GB) or to link the timezone setting to the locale.
Furthermore, it seems that the user is not able to set the correct locale because OP doesn't offer all the language/locale options.
Because the locale is common to the entire project and affects the way the project is managed (it is used by our dates library (moment)), maybe it should be an administrator setting. Other approaches could be to offer different languages that would set the correct locales (e.g. en-GB) or to link the timezone setting to the locale.