Phalcode / gamevault-app

Frontend for the self-hosted gaming platform for drm-free games
https://gamevau.lt
Other
402 stars 18 forks source link

Timezone leads to wrong dates being displayed on the client #413

Closed Alfagun74 closed 5 months ago

Alfagun74 commented 5 months ago

Describe the bug User has a game released 1.1.2003 which shows as (2002) on the client. image image

To fix it Show UTC Dates for release dates instead: image

Yelo420 commented 5 months ago

Strange. Release Date is not converted to local timezone. Maybe the problem is, that the client shows Game.RelaseYear instead of Game.RawgReleaseYear?

Alfagun74 commented 5 months ago

No, just checked it. There is no Rawg release date in the customers database.

Maybe just force use UTC?

Alfagun74 commented 5 months ago

the issue was not in the client. the server sends wrong data.