I try and avoid anything semi-serious do with dates, times and timezones where possible after having been stung by that in the past, and I was hoping that there was some kind of business hours/working hours package that I’ve missed (I’ve had a good search through hex, google, etc.) - even if it’s an erlang one.
Anyone aware of anything?
Before I go away and implement something myself… ![]()
Edit: Just to clarify I’m thinking about something along the lines of GitHub - Intrepidd/working_hours: ⏰ A modern ruby gem allowing to do time calculation with business / working hours. · GitHub, GitHub - bokmann/business_time: Support for doing time math in business hours and days · GitHub or GitHub - zendesk/biz: Time calculations using business hours. · GitHub which will allow me to take a given date (probably in UTC), add an interval of time, but only taking into account working hours (i.e. working hours at 9-5, at 4:30 add 2 hours, results in 10:30 next morning)






















