DiscordMessenger / dm

Discord Messenger is a free Discord-compatible messaging client targeting both new and old Windows.
MIT License
862 stars 16 forks source link

It should use the date and time format that the system is configured to use #106

Closed Zero3K closed 3 months ago

iProgramMC commented 3 months ago

Says who?

Zero3K commented 3 months ago

I was just offering it as a suggestion. I'm not forcing you to add it if you don't want to. Discord uses my date and time setting or the one used in the US.

iProgramMC commented 3 months ago

I'm going to reject this suggestion, because the available formatting functions aren't satisfactory (SHFormatDateTimeW appears to generate strings like X minutes ago, which I can't be arsed to update every minute..)

Zero3K commented 3 months ago

It only does that with FDTF_RELATIVE. https://learn.microsoft.com/en-us/windows/win32/api/shlwapi/nf-shlwapi-shformatdatetimew gives more information about SHFormatDateTimeW.

iProgramMC commented 3 months ago

That's exactly what I was trying to replicate, the "Today at HH:MM" thing.

Zero3K commented 3 months ago

I don't know then.