Timestamp generating UI/Button

コメント

1件のコメント

  • Pon Pon

    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

サインインしてコメントを残してください。