You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In all other places where we need to get the current time we use DateTime.UtcNow. In ValidationAppSI and DefaultEFormidlingService we use DateTIme.Now. I the correct way is to use UtcNow as that will remove the connection to the timesone where the code is executed.
If UtcNow is wrong we at least need to be consistent across our codebase
Steps To Reproduce
Create an app submit a for
See Timestampe in the instance validated block. This has timezone matching the computers timezone
Other timestamps are in utc
Additional Information
No response
The text was updated successfully, but these errors were encountered:
tjololo
changed the title
Use of DateTime.Now in ValidationAppSI and DefaultEformidlingService
Remove use of DateTime.Now in ValidationAppSI and DefaultEformidlingService
Jan 2, 2024
Description of the bug
In all other places where we need to get the current time we use DateTime.UtcNow. In
ValidationAppSI
andDefaultEFormidlingService
we use DateTIme.Now. I the correct way is to use UtcNow as that will remove the connection to the timesone where the code is executed.If UtcNow is wrong we at least need to be consistent across our codebase
Steps To Reproduce
validated
block. This has timezone matching the computers timezoneAdditional Information
No response
The text was updated successfully, but these errors were encountered: