This project exists as I wanted some JSON that contains all the Jersey Channel Islands Bank Holidays so I could reference it for date validation requirement (they didn't want a date selected that was a bank holiday). Here in the Channel Islands we have an extra bank holiday to celebrate the day we were liberated from German occupation in World War 2. The UK government have a public JSON file that almost contains all the data required (https://www.gov.uk/bank-holidays.json). However, it is missing out May 9th Liberation bank holiday. For reference the legislation that defines Jerseys Bank Holidays is here https://www.jerseylaw.je/laws/enacted/pages/RO-096-2010.aspx
This small project takes the UK bank holidays JSON and adds our bank holiday into the data so that the result can be manually saved as a JSON file.
- The conversation page is here jersey-bank-holidays.html
- The JSON that can be used in your project is which is in this file jersey-bank-holidays.json. I intended to update this file on a yearly basis, although if anyone does use it feel free to submit a pull request.
- And finally I have a simple test page that has a date control and uses the above JSON as validation which is in this file jersey-bank-holidays-validate-example.html