mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
fixed date format
This commit is contained in:
parent
66eac07917
commit
ee8e99f2f7
1 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|||
import { renderTooltip } from '@/_helpers/appUtils';
|
||||
import { ConfirmDialog } from '@/_components';
|
||||
import { toast } from 'react-toastify';
|
||||
import moment from 'moment'
|
||||
|
||||
class HomePage extends React.Component {
|
||||
constructor(props) {
|
||||
|
|
@ -201,7 +202,7 @@ class HomePage extends React.Component {
|
|||
<td className="col p-3">
|
||||
<span className="app-title mb-3">{app.name}</span> <br />
|
||||
<small className="pt-2 app-description">
|
||||
created {Date(app.created_at)} ago by {app.user.first_name} {app.user.last_name}{' '}
|
||||
created {moment(app.created_at).fromNow()} ago by {app.user.first_name} {app.user.last_name}{' '}
|
||||
</small>
|
||||
</td>
|
||||
<td className="text-muted col-auto pt-4">
|
||||
|
|
|
|||
Loading…
Reference in a new issue