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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add correct timezone for team planner
Benjamin Bädorf815b58faf132
diff --git a/.gitignore b/.gitignoreindex 18a50ec8503..0268d401bef 100644--- a/.gitignore+++ b/.gitignore@@ -115,5 +115,6 @@ structure.sql# Local development docker/.env-# Local development direnv file+# Local development direnv files/.envrc+/.direnvdiff --git a/frontend/src/app/core/datetime/timezone.service.ts b/frontend/src/app/core/datetime/timezone.service.tsindex fe2fb43f80b..e741fc6427d 100644--- a/frontend/src/app/core/datetime/timezone.service.ts+++ b/frontend/src/app/core/datetime/timezone.service.ts@@ -34,8 +34,10 @@ import { Moment } from 'moment';@Injectable({ providedIn: 'root' })export class TimezoneService {- constructor(readonly configurationService:ConfigurationService,- readonly I18n:I18nService) {+ constructor(+ readonly configurationService:ConfigurationService,+ readonly I18n:I18nService,+ ) {this.setupLocale();}diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.tsindex 7b91ea8b69d..b5d3ff09c99 100644--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts@@ -148,6 +148,7 @@ export class TeamPlannerComponent extends UntilDestroyedMixin {locale: this.I18n.locale,fixedWeekCount: false,firstDay: this.configuration.startOfWeek(),+ timeZone: this.configuration.isTimezoneSet() ? this.configuration.timezone() : 'local',// toolbar: this.buildHeader(),plugins: [resourceTimelinePlugin,