mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Merge pull request #8046 from nixocio/ui_fix_date_projects
Update date format for project list item
Reviewed-by: John Hill <johill@redhat.com>
https://github.com/unlikelyzero
This commit is contained in:
commit
e1095a0a94
@ -16,7 +16,7 @@ import { t } from '@lingui/macro';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { PencilAltIcon, SyncIcon } from '@patternfly/react-icons';
|
||||
import styled from 'styled-components';
|
||||
import { timeOfDay } from '../../../util/dates';
|
||||
import { formatDateString, timeOfDay } from '../../../util/dates';
|
||||
import { ProjectsAPI } from '../../../api';
|
||||
import ClipboardCopyButton from '../../../components/ClipboardCopyButton';
|
||||
import StatusIcon from '../../../components/StatusIcon';
|
||||
@ -72,7 +72,7 @@ function ProjectListItem({
|
||||
</div>
|
||||
{job.finished && (
|
||||
<div>
|
||||
{i18n._(t`FINISHED:`)} {job.finished}
|
||||
{i18n._(t`FINISHED:`)} {formatDateString(job.finished)}
|
||||
</div>
|
||||
)}
|
||||
</Fragment>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user