1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-20 05:47:24 +03:00

Add missing locale date in event view (#3931)

This commit is contained in:
Arthur Knoepflin 2021-10-04 17:44:22 +02:00 committed by GitHub
parent ac2067e105
commit 31ee323baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ import { observer } from "mobx-react";
import type { KubeObject } from "../../../common/k8s-api/kube-object";
import { DrawerItem, DrawerTitle } from "../drawer";
import { cssNames } from "../../utils";
import { LocaleDate } from "../locale-date";
import { eventStore } from "./event.store";
export interface KubeEventDetailsProps {
@ -74,7 +75,7 @@ export class KubeEventDetails extends React.Component<KubeEventDetailsProps> {
{involvedObject.fieldPath}
</DrawerItem>
<DrawerItem name="Last seen">
{lastTimestamp}
<LocaleDate date={lastTimestamp} />
</DrawerItem>
</div>
);