mirror of
https://github.com/umami-software/umami.git
synced 2026-02-24 14:35:35 +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 styles from './SessionInfo.module.css';
|
|||
|
||||
export default function SessionInfo({ data }) {
|
||||
const { locale } = useLocale();
|
||||
const { formatDate } = useTimezone();
|
||||
const { formatTimezoneDate } = useTimezone();
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { formatValue } = useFormat();
|
||||
const { getRegionName } = useRegionNames(locale);
|
||||
|
|
@ -20,10 +20,10 @@ export default function SessionInfo({ data }) {
|
|||
</dd>
|
||||
|
||||
<dt>{formatMessage(labels.lastSeen)}</dt>
|
||||
<dd>{formatDate(data?.lastAt, 'EEEE, PPPpp')}</dd>
|
||||
<dd>{formatTimezoneDate(data?.lastAt, 'EEEE, PPPpp')}</dd>
|
||||
|
||||
<dt>{formatMessage(labels.firstSeen)}</dt>
|
||||
<dd>{formatDate(data?.firstAt, 'EEEE, PPPpp')}</dd>
|
||||
<dd>{formatTimezoneDate(data?.firstAt, 'EEEE, PPPpp')}</dd>
|
||||
|
||||
<dt>{formatMessage(labels.country)}</dt>
|
||||
<dd>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue