bbovenzi commented on code in PR #57053:
URL: https://github.com/apache/airflow/pull/57053#discussion_r2452359362
##########
airflow-core/src/airflow/ui/src/pages/XCom/XCom.tsx:
##########
@@ -82,18 +82,24 @@ const columns = (translate: (key: string) => string, open:
boolean): Array<Colum
taskId: original.task_id,
})}
>
- <TruncatedText text={original.task_id} />
+ <TruncatedText text={original.task_display_name || original.task_id}
/>
</RouterLink>
</Link>
),
enableSorting: false,
- header: translate("common:taskId"),
+ header: translate("common:task_one"),
},
{
accessorKey: "map_index",
enableSorting: false,
header: translate("common:mapIndex"),
},
+ {
+ accessorKey: "timestamp",
+ cell: ({ row: { original } }) => new
Date(original.timestamp).toLocaleString(),
Review Comment:
Oh and we do have a `<Time />` component you can use here which will pick up
on the user-set timezone
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]