From e009fe1ec62370fe48ee3cbc19aa80cf4d90ca4c Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 19 Oct 2023 16:08:25 +0100 Subject: [PATCH] [Bexley] Update Christmas concessionary day. --- perllib/FixMyStreet/Cobrand/Bexley.pm | 2 +- t/cobrand/bexley.t | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/perllib/FixMyStreet/Cobrand/Bexley.pm b/perllib/FixMyStreet/Cobrand/Bexley.pm index 5aa8c39745b..5fa88d33b8d 100644 --- a/perllib/FixMyStreet/Cobrand/Bexley.pm +++ b/perllib/FixMyStreet/Cobrand/Bexley.pm @@ -324,7 +324,7 @@ sub _is_out_of_hours { return 1 if $time->hour < 8; return 1 if $time->wday == 1 || $time->wday == 7; return 1 if FixMyStreet::Cobrand::UK::is_public_holiday(); - return 1 if DateTime->now->ymd eq '2022-12-28'; + return 1 if DateTime->now->ymd eq '2023-12-27'; return 0; } diff --git a/t/cobrand/bexley.t b/t/cobrand/bexley.t index 295a3d5cc00..4527c7a5822 100644 --- a/t/cobrand/bexley.t +++ b/t/cobrand/bexley.t @@ -508,8 +508,8 @@ EOF is $cobrand->_is_out_of_hours(), 1, 'out of hours at weekends'; set_fixed_time('2019-12-25T12:00:00Z'); is $cobrand->_is_out_of_hours(), 1, 'out of hours on bank holiday'; - set_fixed_time('2022-12-28T12:00:00Z'); - is $cobrand->_is_out_of_hours(), 1, 'out of hours on special day 2022'; + set_fixed_time('2023-12-27T12:00:00Z'); + is $cobrand->_is_out_of_hours(), 1, 'out of hours on special day 2023'; };