mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 18:45:36 +01:00
Fixed timezone date format.
This commit is contained in:
parent
17e2658fdc
commit
511fec2ddb
6 changed files with 22 additions and 20 deletions
|
|
@ -6,7 +6,7 @@ import Link from 'next/link';
|
|||
import Icons from 'components/icons';
|
||||
|
||||
export function EventsTable({ data = [] }) {
|
||||
const { formatDate } = useTimezone();
|
||||
const { formatTimezoneDate } = useTimezone();
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { renderTeamUrl } = useTeamUrl();
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ export function EventsTable({ data = [] }) {
|
|||
}}
|
||||
</GridColumn>
|
||||
<GridColumn name="created" label={formatMessage(labels.created)} width={'300px'}>
|
||||
{row => formatDate(row.createdAt, 'PPPpp')}
|
||||
{row => formatTimezoneDate(row.createdAt, 'PPPpp')}
|
||||
</GridColumn>
|
||||
</GridTable>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue