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
use formatted iso date for event enty
bsatarnejadbcdc2972f3b3
diff --git a/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts b/frontend/src/app/features/calendar/te-calendar/te-calendar.component.tsindex 9da8fae96ba..6ea5a477926 100644--- a/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts+++ b/frontend/src/app/features/calendar/te-calendar/te-calendar.component.ts@@ -148,6 +148,7 @@ export class TimeEntryCalendarComponent {buttonText: { today: this.text.today },initialView: 'timeGridWeek',firstDay: this.configuration.startOfWeek(),+ timeZone: this.configuration.isTimezoneSet() ? this.configuration.timezone() : 'local',hiddenDays: [],// This is a magic number that is derived by trial and errorcontentHeight: 550,@@ -307,7 +308,7 @@ export class TimeEntryCalendarComponent {const calendarEntries:EventInput[] = [];- for (let m = moment(fetchInfo.start); m.diff(fetchInfo.end, 'days') <= 0; m.add(1, 'days')) {+ for (let m = moment(this.timezone.formattedISODate(fetchInfo.start)); m.diff(fetchInfo.end, 'days') <= 0; m.add(1, 'days')) {const duration = dateSums[m.format('YYYY-MM-DD')] || 0;calendarEntries.push(this.sumEntry(m, duration));