Skip to content

Comments

Remove offset from received timestamps when writing them to DB#1029

Open
Toastbrot236 wants to merge 2 commits intoLittleBigRefresh:mainfrom
Toastbrot236:datetime-offset-fix
Open

Remove offset from received timestamps when writing them to DB#1029
Toastbrot236 wants to merge 2 commits intoLittleBigRefresh:mainfrom
Toastbrot236:datetime-offset-fix

Conversation

@Toastbrot236
Copy link
Contributor

Closes #1028 by setting GameContest.StartDate, GameContest.EndDate and GameUser.BanExpiryDate to the UTC variant of the DateTimeOffsets received from API requests. Also includes tests for both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove offsets from timestamps sent over APIv3 before saving them in DB

1 participant