Skip to content

Commit

Permalink
Change to combined format handler
Browse files Browse the repository at this point in the history
  • Loading branch information
razzeee committed Oct 28, 2024
1 parent ae97524 commit bc2db82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ const TransactionDetails: FunctionComponent<Props> = ({ transaction }) => {
<div className="grid col-span-3 md:col-span-3 grid-cols-subgrid">
<div>{t("transaction-summary-created")}</div>
<div className="md:col-span-2">
{format(new UTCDate(created * 1000), "P p", {
{format(new UTCDate(created * 1000), "Pp", {
locale: getLocale(i18n.language),
})}
</div>
</div>
<div className="grid col-span-3 md:col-span-3 grid-cols-subgrid">
<div>{t("transaction-summary-updated")}</div>
<div className="md:col-span-2">
{format(new UTCDate(updated * 1000), "P p", {
{format(new UTCDate(updated * 1000), "Pp", {
locale: getLocale(i18n.language),
})}
</div>
Expand Down

0 comments on commit bc2db82

Please sign in to comment.