Phalcode / gamevault-app

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

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

Closed Alfagun74 closed 2 weeks ago

Alfagun74 commented 2 weeks 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 2 weeks 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 2 weeks ago

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

Maybe just force use UTC?

Alfagun74 commented 2 weeks ago

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