diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.25k stars 40 forks source link

Date uses US format #132

Open jernejs opened 1 year ago

jernejs commented 1 year ago

Right now gtkcord4 seems to use US date format (MM/DD/YY) – can this be changed to use the system locale (or add a config option)?

diamondburned commented 1 year ago

I would expect GLib to use the system locale for dates older than a week. It's using %X %x for GLib's strftime, so that should work for any locale, I think.

There is an i18n API to change this at runtime, but I don't think it's working right now.