From 4b6f4231b7f953267ebdbae9acfcd409d1ebacee Mon Sep 17 00:00:00 2001
From: Edward Betts <edward@4angle.com>
Date: Tue, 16 Jan 2024 18:08:11 +0000
Subject: [PATCH] Bug fix holiday start and end dates

---
 agenda/holidays.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/agenda/holidays.py b/agenda/holidays.py
index 08b1a13..6cda113 100644
--- a/agenda/holidays.py
+++ b/agenda/holidays.py
@@ -48,7 +48,7 @@ def get_nyse_holidays(
                 title=rename.get(title, title),
             )
             for hol_date, title in hols.items()
-            if start_date < hol_date < end_date
+            if start_date <= hol_date <= end_date
         ]
     found = [hol for hol in found if (hol.date, hol.title) not in known_us_hols]
     for hol in found:
@@ -78,7 +78,7 @@ def get_holidays(country: str, start_date: date, end_date: date) -> list[Holiday
                 country=country.lower(),
             )
             for hol_date, title in en_hols.items()
-            if start_date < hol_date < end_date
+            if start_date <= hol_date <= end_date
         ]
 
     return found