mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Make date consistent on tooltip display
Make date consistent on tooltip to display info about job. There are 3 places that define similar function on the code basis. Make them consistent in how to display date.
This commit is contained in:
parent
e08590290c
commit
5b92c9e8f3
@ -20,6 +20,7 @@ import styled from 'styled-components';
|
||||
|
||||
import StatusIcon from '../../../components/StatusIcon';
|
||||
import InventorySourceSyncButton from '../shared/InventorySourceSyncButton';
|
||||
import { formatDateString } from '../../../util/dates';
|
||||
|
||||
const ExclamationTriangleIcon = styled(PFExclamationTriangleIcon)`
|
||||
color: var(--pf-global--warning-color--100);
|
||||
@ -46,7 +47,7 @@ function InventorySourceListItem({
|
||||
</div>
|
||||
{job.finished && (
|
||||
<div>
|
||||
{t`FINISHED:`} {job.finished}
|
||||
{t`FINISHED:`} {formatDateString(job.finished)}
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user