Skip to content

Commit

Permalink
fix(j-s): Use confirmed indictment date on indictment
Browse files Browse the repository at this point in the history
  • Loading branch information
unakb committed Jan 9, 2025
1 parent a2d6db8 commit 5afbc5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const createIndictment = async (
lowercase(theCase.prosecutorsOffice?.name)
.replace('lögreglustjórinn', 'lögreglustjórans')
.replace('saksóknari', 'saksóknara') ?? '',
date: formatDate(nowFactory(), 'PPP'),
date: formatDate(confirmation?.date || nowFactory(), 'PPP'),
}),
)

Expand Down

0 comments on commit 5afbc5d

Please sign in to comment.