ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.
MIT License
1.92k stars 63 forks source link

Add timezone info to message timestamps #362

Closed cyberme0w closed 4 months ago

cyberme0w commented 4 months ago

Hi! This is a fix for #361 which adds timezone information to message timestamps, allowing them to display the correct time (as opposed to hard-coded UTC).

It is important to note that this does not currently work on Android/Termux due to https://github.com/termux/termux-packages/issues/2622 (or more specifically https://github.com/golang/go/issues/20455).

If you think it's useful, I can also look into adding a config option to hard-code the timezone as a workaround for those users.

Cheers!