diff --git a/app/features/notifications/notifications-utils.ts b/app/features/notifications/notifications-utils.ts index 66ffdcc05..912f6d71d 100644 --- a/app/features/notifications/notifications-utils.ts +++ b/app/features/notifications/notifications-utils.ts @@ -104,14 +104,12 @@ export const mapMetaForTranslation = ( ) { return { ...notification.meta, - timeString: notification.meta.at // TODO: after two weeks this check can be removed (all notifications will have `at`) - ? new Date(notification.meta.at).toLocaleString(language, { - day: "numeric", - month: "numeric", - hour: "numeric", - minute: "numeric", - }) - : undefined, + timeString: new Date(notification.meta.at).toLocaleString(language, { + day: "numeric", + month: "numeric", + hour: "numeric", + minute: "numeric", + }), }; }