ayn2op / discordo

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

Timestamps don't show in local time #361

Closed 10kmotorola closed 4 months ago

10kmotorola commented 4 months ago

Date is set correctly on my system:

$ date
Fri Mar  8 12:24:46 PM EST 2024

Yet timestamps are in UTC. I'm using Hyprland fwiw.

cyberme0w commented 4 months ago

Looks like something where https://pkg.go.dev/time#ParseInLocation and https://pkg.go.dev/time#Location would help.

Edit: also somewhat related, the timestamps are always time-only, even for messages older than a day, which is a bit confusing. It'd be nice to be able to see the date too for those older messages.