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

Fix deprecation warning

Christophe Bliardd4decec7a988
diff --git a/frontend/src/app/core/datetime/timezone.service.ts b/frontend/src/app/core/datetime/timezone.service.ts
index 43879ce52d1..2c35b06653c 100644
--- a/frontend/src/app/core/datetime/timezone.service.ts
+++ b/frontend/src/app/core/datetime/timezone.service.ts
@@ -132,7 +132,7 @@ export class TimezoneService {
}
public toISODuration(input:string|number, unit:'hours'|'days'):string {
- return moment.duration(input, unit).toIsoString();
+ return moment.duration(input, unit).toISOString();
}
public formattedDuration(durationString:string, unit:'hour'|'days' = 'hour'):string {