diff --git a/api/Services/TimeInService.cs b/api/Services/TimeInService.cs index a1eff289..03160d6f 100644 --- a/api/Services/TimeInService.cs +++ b/api/Services/TimeInService.cs @@ -110,7 +110,7 @@ public async Task Update(TimeInRequest timeIn) timeEntry.EndTime = timeIn.EndTime; timeEntry.BreakStartTime = userSchedule.BreakFrom; timeEntry.BreakEndTime = userSchedule.BreakTo; - timeEntry.Date = timeIn.Date; + timeEntry.Date = DateTime.Now; context.TimeEntries.Update(timeEntry); await context.SaveChangesAsync();