Skip to content

Commit

Permalink
Change petition display date to created not submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
imas234 committed Sep 8, 2024
1 parent 568de5f commit 9d58617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/jonogon-web-next/src/app/_components/PetitionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const PetitionList = () => {
attachment={p.data.attachment ?? ''}
date={
new Date(
p.data.submitted_at ??
p.data.created_at ??
'1970-01-01',
)
}
Expand Down

0 comments on commit 9d58617

Please sign in to comment.