Skip to content

Commit

Permalink
Locale was missing, so tests used incorrect times
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Cuba authored and Mario Cuba committed Sep 5, 2022
1 parent 595ff80 commit 23469e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/components/RelativeDateTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const RelativeDateTime = ({ value }) => {

return (
<time
title={date.toLocaleString(DateTime.DATETIME_SHORT)}
title={date.toLocaleString(DateTime.DATETIME_SHORT, { locale: 'en-AU' })}
dateTime={value}
>
{formatDate(date)}
Expand Down

0 comments on commit 23469e4

Please sign in to comment.