erikjohnston / calendar_bot

1 stars 2 forks source link

Track public holidays #7

Open kittykat opened 2 years ago

kittykat commented 2 years ago

Can calbot track public holidays through hibob? It's bank holidays at the moment and people in UK are still getting pinged even though we're off

erikjohnston commented 2 years ago

Annoyingly, hibob a) doesn't tell you that a person is out due to it being a public holiday, and really infuriatingly b) even when someone has explicitly booked the bank holiday off hibob still doesn't tell you that via the api.

Im somewhat loathed to manually try and copy the public holidays for each user into calbot, but I think that might be the only way forwards here

erikjohnston commented 2 years ago

Actually, looks like if we use a different API (b) is no longer a problem.

erikjohnston commented 2 years ago

It does also look like HiBob exposes in what "site" a person is in, so we'd just need the list of public holidays for each place.

erikjohnston commented 2 years ago

Actually, looks like if we use a different API (b) is no longer a problem.

This is now done and deployed.