Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add more explanation to the comments.

Dombi Attilae0582a353ded
diff --git a/frontend/src/app/core/setup/init-locale.ts b/frontend/src/app/core/setup/init-locale.ts
index 4170a93045c..28c9701376e 100644
--- a/frontend/src/app/core/setup/init-locale.ts
+++ b/frontend/src/app/core/setup/init-locale.ts
@@ -43,7 +43,8 @@ export function initializeLocale() {
moment.locale(userLocale);
- // Remove Postformatting Arabic numbers in dates
+ // Remove Postformatting numbers in dates, this will ensure we are always using
+ // Arabic numbers in dates and durations, regardless of the chosen locale.
// Using moment.locale() ensures locale like "zh-CN" falls back to "zh-cn"
moment.updateLocale(moment.locale(), { postformat: (string:string) => string });