arena icon indicating copy to clipboard operation
arena copied to clipboard

All times should be client-localized

Open randallm opened this issue 8 years ago • 3 comments

For example, if connected to a server on the east coast the timezone returned will be EST regardless of where you are. It would be nice to be able to configure this (or at the very least, explicitly display the timezone range)

randallm avatar Jul 11 '17 19:07 randallm

The easiest way to fix this is just to write <script>document.write(new Date(timestamp))</script> when rendering the page. That will localize the time to the browser

bradvogel avatar Jul 11 '17 19:07 bradvogel

How to localize the time to the browser when using docker image ?

yo8568 avatar Aug 10 '17 03:08 yo8568

Once this issue is fixed, the time will also be localized when run in docker.

bradvogel avatar Aug 10 '17 06:08 bradvogel