refactor: save current workspace state including FinlyticAnalyzer fixes, FinlyticApp trade route alignment, and DTO audit documentation
This commit is contained in:
@@ -349,8 +349,10 @@ public class NewsDbService : INewsDbService
|
||||
// 2. Date Filter
|
||||
if (date.HasValue)
|
||||
{
|
||||
var targetDate = DateTime.SpecifyKind(date.Value.Date, DateTimeKind.Utc);
|
||||
// Erstelle ein exaktes UTC-Datum von 00:00:00 Uhr am gebuchten Tag
|
||||
var targetDate = new DateTime(date.Value.Year, date.Value.Month, date.Value.Day, 0, 0, 0, DateTimeKind.Utc);
|
||||
var nextDate = targetDate.AddDays(1);
|
||||
|
||||
query = query.Where(a => a.PublishedAt >= targetDate && a.PublishedAt < nextDate);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user