Formatter for time / timestamp with timezone
I'm in multiple servers, that have members over multiple continents. When deciding on times to play, it's always a huge pain to handle time-zone differences.
I've tried to write a bot to solve that issue, that converts a time into client time. The issue: that only works for timestamps that are today, as otherwise the time gets cut off (MessageEmbed.setTimestamp).
Still, I think this would be a commonly used feature and should be really easy to implement on the server side, therefore my request:
Please add a markdown for time / timestamps, that converts a time into UTC and displays the time as client-side time on each client.
E.g. something like:
@@14:00@@
would be displayed as 14:00 CEST on my client, and would be displayed as 08:00 EST on another client.
-
Yes, yes please!!
0 -
Use the UNIX time to edit this date.<t:1632668990:R> edit the bold number to your UNIX date and it should display the time for every device. I only recently found this out but I haven't tried different timezones.
0 -
Using a specific date together with time doesn't solve the problem. If you want to write 8pm each day. You'd have to write out each day in UNIX code. It's also a count down, not a set time. (It'll spell out "In 10min").
We want a bulit in time system, so even if the time was written days ago, you can still see which time it was in your own time zone.
For an event that's set in time and date this UNIX method is indeed nice, so thanks for sharing.
0 -
In case you're still looking,
<t:1635609060:t> can be what you need. Still not ideal as it uses unix timestamps but at least it's not a countdown.1 -
Thank you!
And yes, as you wrote, not as convinient, but it deffinitly gets the job done.
(And if anyone's wondering, yes it'll still show tje time even if you put in a date that has already been).^_^
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
5 commentaires