From 9228f670120f6002625cf3b2bdbfe710d5dcd5e3 Mon Sep 17 00:00:00 2001 From: Bruce Bolt Date: Tue, 14 Mar 2023 13:01:20 +0000 Subject: [PATCH] Fix date format on Get Involved page This was incorrectly added in https://github.com/alphagov/government-frontend/pull/2712, so fixing to display the year instead of the timezone. --- app/presenters/get_involved_presenter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/presenters/get_involved_presenter.rb b/app/presenters/get_involved_presenter.rb index 5ff0e8e08..b7445c626 100644 --- a/app/presenters/get_involved_presenter.rb +++ b/app/presenters/get_involved_presenter.rb @@ -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)),