Take Date part when checking holiday cache.

This commit is contained in:
2024-06-20 08:57:37 -04:00
parent d83d671f9d
commit b46699b93c

View File

@@ -28,7 +28,7 @@ namespace MarketData.Utils
lock(instance)
{
if(null==holidays) return false;
return holidays.ContainsKey(dateTime);
return holidays.ContainsKey(dateTime.Date);
}
}
}