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

Convert to UTC after begin/endOf day

Oliver Günther008ad064ef3b
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-date-times-value/filter-date-times-value.component.ts b/frontend/src/app/features/work-packages/components/filters/filter-date-times-value/filter-date-times-value.component.ts
index fb88996ab5a..16c99443b01 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-date-times-value/filter-date-times-value.component.ts
+++ b/frontend/src/app/features/work-packages/components/filters/filter-date-times-value/filter-date-times-value.component.ts
@@ -113,7 +113,8 @@ export class FilterDateTimesValueComponent extends AbstractDateTimeValueControll
const parsed = this
.timezoneService
.parseISODatetime(date)
- .startOf('day');
+ .startOf('day')
+ .utc();
this.begin = this.timezoneService.formattedISODateTime(parsed);
}
@@ -130,7 +131,8 @@ export class FilterDateTimesValueComponent extends AbstractDateTimeValueControll
const parsed = this
.timezoneService
.parseISODatetime(date)
- .endOf('day');
+ .endOf('day')
+ .utc();
this.end = this.timezoneService.formattedISODateTime(parsed);
}