Skip to content

Commit

Permalink
Merge branch 'main' into MNTOR-3395
Browse files Browse the repository at this point in the history
  • Loading branch information
codemist authored Nov 14, 2024
2 parents 708434f + f9c3d95 commit 7554426
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,16 @@ export const BreachDetailsView = (props: Props) => {
</>
) : (
l10n.getString("breach-overview-new", {
breachDate: (
breach.BreachDate as unknown as Date
).toLocaleString(getLocale(l10n), {
year: "numeric",
month: "long",
day: "numeric",
}),
breachDate: new Date(breach.BreachDate).toLocaleString(
getLocale(l10n),
{
year: "numeric",
month: "long",
day: "numeric",
},
),
breachTitle: breach.Title,
addedDate: (breach.AddedDate as unknown as Date).toLocaleString(
addedDate: new Date(breach.AddedDate).toLocaleString(
getLocale(l10n),
{
year: "numeric",
Expand Down

0 comments on commit 7554426

Please sign in to comment.