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

[38076] Use createdAt, not updatedAt for IAN rendering

Oliver Günther91e1b55fb240
diff --git a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.ts b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.ts
index e118d6487f6..a3e9750ef28 100644
--- a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.ts
+++ b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.ts
@@ -92,10 +92,10 @@ export class InAppNotificationEntryComponent implements OnInit {
}
private buildTime() {
- this.fixedTime = this.timezoneService.formattedDatetime(this.notification.updatedAt);
+ this.fixedTime = this.timezoneService.formattedDatetime(this.notification.createdAt);
this.relativeTime$ = timer(0, 10000)
.pipe(
- map(() => this.timezoneService.formattedRelativeDateTime(this.notification.updatedAt)),
+ map(() => this.timezoneService.formattedRelativeDateTime(this.notification.createdAt)),
distinctUntilChanged(),
);
}