|
|
|
|
|
by didntcheck
953 days ago
|
|
It's been a while since I did any frontend work, but I recall that the Date Javascript object does do that. I was able to just send a UTC timestamp from the backend, then do something like (I've not tested this right now) new Date(timestampMs).toLocaleString()
and it just worked. Correct timezone and locale. Not sure why that simple approach isn't more widely used |
|