Timestamp generating UI/Button
A Calendar button that when clicked pops up a calendar interface (the usual arrows to scroll through month, year, and display is current month with the days in a grid like appearance) and a digital clock interface that is customizable as well. When you select a day it creates a timestamp like <t:123727592938> where the cursor is in your current typing message or editing message.
-
Agreed that this would be convenient. I do also think that, just like how you can type @username, #channel and :emote: and it will take your text and convert it to internal Discord-coding. Typing <t:FORMAT> could also auto-convert your text to internal Discord-coding as well.
I'm thinking <t:2024-08-10> would convert to <t:1723298400> and will display as expected (for unspecified time, it can use 14:00 UTC to ensure it's the same date from UTC-10 to UTC+14). But type <t:2024-08-10 15:00> and it will convert that to a specific time based on your timezone.
For non-ISO dates, users should be able to use a mix of / - . as separators, and if the year isn't first, then it will use DMY unless the locale is using MDY. So <t:01/10/2024> will result in 1 October in all but US English. Time will be assumed 24 hours unless specified with AM/PM.
0
サインインしてコメントを残してください。
コメント
1件のコメント