ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timestamps don't show in local time

10kmotorola opened this issue · comments

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.

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.