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

Unset moment.js locale in timezone service

Dombi Attila12faf8861cf1
diff --git a/frontend/src/app/core/datetime/timezone.service.ts b/frontend/src/app/core/datetime/timezone.service.ts
index 1106bce3b14..e7a152eb572 100644
--- a/frontend/src/app/core/datetime/timezone.service.ts
+++ b/frontend/src/app/core/datetime/timezone.service.ts
@@ -37,13 +37,7 @@ export class TimezoneService {
constructor(
readonly configurationService:ConfigurationService,
readonly I18n:I18nService,
- ) {
- this.setupLocale();
- }
-
- public setupLocale():void {
- moment.locale(I18n.locale);
- }
+ ) { }
/**
* Returns the user's configured timezone or guesses it through moment