holidays / holidays

A collection of Ruby methods to deal with statutory and other holidays. You deserve a holiday!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4 day UK Bank Holiday in 2022

hlascelles opened this issue · comments

It looks like there may be an extra day's holiday in the UK in 2022: https://www.bbc.com/news/uk-54911550

A "once-in-a-generation show" over a four-day bank holiday weekend will mark the Queen's Platinum Jubilee in 2022.

The Queen, 94, hopes as many people as possible across the UK will have the opportunity to join the celebrations, Buckingham Palace said.

She will have reigned for 70 years on 6 February 2022 but plans are in place to stage a series of events from 2-5 June.

If we don't add it to this gem she'll cut our heads off.

This is now official (and less than a year away): https://www.gov.uk/bank-holidays

Is it easy to add? Would you like a PR @ttwo32?

image

@ttwo32 What do you think? This is less than a year away and may be affecting financial apps calculations.

 gem install holidays  
Fetching holidays-8.4.1.gem
Successfully installed holidays-8.4.1

irb(main):004:0> Holidays.on(Date.civil(2022, 6, 2), :gb)
=> []
irb(main):005:0> Holidays.on(Date.civil(2022, 6, 3), :gb)
=> []

I'm really sorry for the delay in my response.
It needs to update uk yaml delinifition.
Would you please read the guide and send us a PR?

https://github.com/holidays/holidays/blob/master/doc/CONTRIBUTING.md#for-definition-updates

@ttwo32 it looks like holidays/definitions#207 will address this issue