py-business-calendar icon indicating copy to clipboard operation
py-business-calendar copied to clipboard

Issue when holiday is on weekend

Open jacksoncoutinho opened this issue 8 months ago • 0 comments

When we are passing holiday as weekend, business_calender will return as a weekend, but my requirement is holiday should be the priority i.e.

import datetime
from business_calendar import Calendar
cal = Calendar(holidays=['2024-6-15'])
cal.isholiday(datetime.datetime(2024,6,15))

isholiday returns False even though it is marked as holiday, is there any workaround for this ?

jacksoncoutinho avatar Jun 19 '24 05:06 jacksoncoutinho