Skip to content

Commit

Permalink
fix: data format
Browse files Browse the repository at this point in the history
  • Loading branch information
fernirteam committed Apr 20, 2024
1 parent f59028d commit e7d8011
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ IHttpContextAccessor httpContextAccessor
List<string> dates = new();
for (var curDate = startDate; curDate <= endDate; curDate = curDate.AddDays(1))
if (reservations.Any(r => r.StartDate <= curDate && curDate <= r.EndDate))
dates.Add(curDate.ToString(@"dd/MM/yy"));
dates.Add(curDate.ToString("dd'/'MM'/'yy"));
return new(dates);
}
}

0 comments on commit e7d8011

Please sign in to comment.