fix holiday count

This commit is contained in:
Suphonchai Phoonsawat 2024-01-18 06:11:18 +07:00
parent ce746e4034
commit a1bd2ec4b8
2 changed files with 14 additions and 4 deletions

View file

@ -40,7 +40,7 @@ namespace BMA.EHR.Application.Repositories.MetaData
{
var dates = new List<DateTime>();
for (DateTime i = startDate; i < endDate; i = i.AddDays(1))
for (DateTime i = startDate; i <= endDate; i = i.AddDays(1))
{
dates.Add(i);
}