Skip to content

Commit

Permalink
fix: last seen instance with timezone (#6376)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Feb 28, 2024
1 parent 2bf46d9 commit 3aff5d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
@@ -1,5 +1,4 @@
import { FC, useEffect, useMemo } from 'react';
import { formatDateYMDHMS } from 'utils/formatDate';
import { useRequiredPathParam } from 'hooks/useRequiredPathParam';
import { useConnectedInstancesTable } from './useConnectedInstancesTable';
import { ConnectedInstancesTable } from './ConnectedInstancesTable';
Expand Down Expand Up @@ -55,7 +54,7 @@ export const ConnectedInstances: FC = () => {
instanceId,
ip: clientIp || '',
sdkVersion: sdkVersion || '',
lastSeen: lastSeen ? formatDateYMDHMS(lastSeen) : '',
lastSeen: lastSeen || '',
});
if (!currentEnvironment) {
return [];
Expand Down
Expand Up @@ -2,7 +2,7 @@ import { useMemo } from 'react';
import { HighlightCell } from 'component/common/Table/cells/HighlightCell/HighlightCell';
import { useTable, useGlobalFilter, useSortBy } from 'react-table';
import { sortTypes } from 'utils/sortTypes';
import { TimeAgoCell } from '../../common/Table/cells/TimeAgoCell/TimeAgoCell';
import { TimeAgoCell } from 'component/common/Table/cells/TimeAgoCell/TimeAgoCell';

type ConnectedInstancesTableData = {
instanceId: string;
Expand Down

0 comments on commit 3aff5d8

Please sign in to comment.