diff --git a/src/isnd/Controllers/ApiKeysController.cs b/src/isnd/Controllers/ApiKeysController.cs index bbc2d21..fc5c278 100644 --- a/src/isnd/Controllers/ApiKeysController.cs +++ b/src/isnd/Controllers/ApiKeysController.cs @@ -65,7 +65,7 @@ namespace isnd.Controllers return View(); } ApiKey newKey = new ApiKey { UserId = userid, Name = model.Name, - CreationDate = DateTime.Now }; + CreationDate = DateTime.UtcNow }; _ = dbContext.ApiKeys.Add(newKey); _ = await dbContext.SaveChangesAsync(); return View("Details", new DetailModel { Name = newKey.Name,