Vencord / plugin-requests

Vencord plugin requests. Open the link below to create a request
https://github.com/Vencord/plugin-requests/issues/new?template=request.yml
27 stars 6 forks source link

Time Formatting Plugin #1

Open mudkipdev opened 5 months ago

mudkipdev commented 5 months ago

Plugin Description

Adds various time customization options such as enabling 12/24 hour time regardless of your locale, relative chat timestamps, and changing the date formatting.

Existing Plugin for other mod

No response

Request Agreement

Vendicated commented 5 months ago

(outdated reply due to adding more things to the request)

What's the use case? why not just use british english?

nvhhr commented 5 months ago

I think this potential feature should not only be for switching between 12h and 24h time, but also adding seconds and other possible time formatting customization.

rushiiMachine commented 5 months ago

I think the actual plugin in this instance would be custom timestamps like on aliu

EggsAndAvo commented 5 months ago

What's the use case? why not just use british english?

Because then your spelling starts getting auto-corrected into British English.

Riddim-GLiTCH commented 5 months ago

What's the use case? why not just use british english?

Because then your spelling starts getting auto-corrected into British English.

The differences are negligible, and there is not really any autocorrect, just a marker that says you made a typo. And even then you can just add the word to the dictionary or just disable spellcheck altogether if it really bothers you.

Riddim-GLiTCH commented 5 months ago

@nvhhr I think this potential feature should not only be for switching between 12h and 24h time, but also adding seconds and other possible time formatting customization.

@rushiiMachine I think the actual plugin in this instance would be custom timestamps like on aliu

I can see something based on UnixTimestamps by ItMeSarah for BetterDiscord being ported here.

nvhhr commented 5 months ago

So it turns out there's a plugin by rini (see comment below for modified version) that can do all kinds of wonderful things to timestamps, but with limited settings. Hardcoding custom formats into it works well, but obviously that won't do. (edit: the plugin was completely broken by discord today) (edit 2: rini fixed the plugin)

DuskIntent commented 5 months ago

Please use this feature too

https://betterdiscord.app/plugin/RelativeTimestamps

nvhhr commented 5 months ago

So through some trial and error I made some better settings for the plugin I linked above. I honestly have no idea what I'm doing but it works for me. Relative timestamps are also possible as it is, and if I knew how to code at all, they could also be very customizable quite easily I believe.

I posted this on discord but nobody seems to care for this unfortunately, so I'm dropping it here so someone interested in this can try it out and maybe take over development, as I doubt I'll ever be able to make it something I'd dare to PR.

https://gist.github.com/nvhhr/7385814810cad48be5ffa4483fe4d2f8

KaKi87 commented 3 days ago

Hello, Any news on this ? Thanks