Skip to content

Commit

Permalink
Fix date format on Get Involved page
Browse files Browse the repository at this point in the history
This was incorrectly added in
#2712, so fixing to
display the year instead of the timezone.
  • Loading branch information
brucebolt committed Mar 14, 2023
1 parent f43f05f commit 9228f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/presenters/get_involved_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def filtered_links(array, close_status)
link: {
text: item["title"],
path: item["link"],
description: "#{close_status} #{item['end_date'].to_date.strftime('%d %B %z')}",
description: "#{close_status} #{item['end_date'].to_date.strftime('%d %B %Y')}",
},
metadata: {
public_updated_at: Time.zone.parse(org_time(item)),
Expand Down

0 comments on commit 9228f67

Please sign in to comment.