jurteam / platform

Jur Beta Platform
https://beta.jur.io
0 stars 0 forks source link

Fix Date rendering #239

Closed tyagishuchi1 closed 4 years ago

tyagishuchi1 commented 4 years ago

The timestamp coming from the API is not parsed correctly, because of which date "1 Jan 1970" is rendered everywhere.

Expected Behavior

The date should be parsed and rendered correctly throughout the Advocate/Rewards pages

Current Behavior

image

Environment: Temp

ashishjur commented 4 years ago

:joy: It's 19 Jan 1970

It's because of seconds epoch vs milliseconds. I'll update it :+1: