fixes the compile and timestamps to db

This commit is contained in:
Paul Schneider 2026-07-11 03:26:13 +01:00
commit bed9c8a272
15 changed files with 36 additions and 36 deletions

View file

@ -40,7 +40,7 @@ namespace Yavsc.Controllers
public IEnumerable<RdvQueryProviderInfo> GetCommands(long maxId=long.MaxValue)
{
var uid = User.FindFirstValue(ClaimTypes.NameIdentifier);
var now = DateTime.Now;
var now = DateTime.UtcNow;
var result = _context.RdvQueries.Include(c => c.Location).
Include(c => c.Client).Where(c => c.PerformerId == uid && c.Id < maxId && c.EventDate > now