Skip to content

Commit

Permalink
update date format
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikjeeyar committed Jan 23, 2024
1 parent 63cbefd commit d16de11
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import {
DescriptionListDescription,
DescriptionListGroup,
DescriptionListTerm,
Icon,
Timestamp,
Truncate,
} from '@patternfly/react-core';
import { GlobeAmericasIcon } from '@patternfly/react-icons/dist/js/icons/globe-americas-icon';
import { ExpandableRowContent, Tbody, Td, Tr } from '@patternfly/react-table';
import { EnterpriseContractPolicy } from '../../types';
import { getRuleStatus } from '../../utils/summary-utils';
Expand Down Expand Up @@ -68,7 +70,10 @@ export const EnterpriseContractRow: React.FC<EnterpriseContractRowType> = ({ dat
<DescriptionListGroup>
<DescriptionListTerm>Effective from</DescriptionListTerm>
<DescriptionListDescription>
<Timestamp>{data.timestamp}</Timestamp>
<Icon iconSize="sm">
<GlobeAmericasIcon />
</Icon>{' '}
<Timestamp dateTime={data.timestamp} dateFormat="medium" timeFormat="medium" />
</DescriptionListDescription>
</DescriptionListGroup>
) : null}
Expand Down

0 comments on commit d16de11

Please sign in to comment.