mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-10-05 15:49:37 +00:00
Use UtcNow instead of Now for internal time keeping (#965)
This commit is contained in:
parent
c529dada35
commit
092f8bc5a2
15 changed files with 26 additions and 26 deletions
|
@ -26,7 +26,7 @@ public class ModerationCaseController : ControllerBase
|
|||
ModerationCaseEntity? @case = await this.database.Cases.FirstOrDefaultAsync(c => c.CaseId == id);
|
||||
if (@case == null) return this.NotFound();
|
||||
|
||||
@case.DismissedAt = DateTime.Now;
|
||||
@case.DismissedAt = DateTime.UtcNow;
|
||||
@case.DismisserId = user.UserId;
|
||||
@case.DismisserUsername = user.Username;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue