[Feature Request] Date / time formatting tokens
A channel might want to present a message with date/time information. Both the date and time may be important to the recipient. The presentation of the date and time should be controlled by the sender, but the date and time should be localized to the recipient.
Discord currently provides a simple mechanism for this. Embeds may carry a timestamp that is included in the footer of the embed. While the timestamp is localized when shown to the receiver, the format of the date/time cannot be customized by the sender. And the Discord client currently discards time information when the timestamp is well in the future (more than a day or so?).
Footer time included for something with today's date:

Footer time excluded for a future date:

Slack has a generalized method for handling this, and is documented here. Discord should consider adopting a similar way to encode date/time information, since channel members are often distributed across many timezones, and relaying date/time in a way that is localized is important.
Use case: A gaming guild web site exists that helps members schedule and organize game sessions. These sessions are reported via Discord to draw awareness. When a game is posted for a particular start date/time, the web site sends the announcement to their Discord server. However, the game session is announced there with a date/time in text format along with a static timezone, which is appropriate for some, but not all). Ideally, the game's date/time should be localized to the person reading the announcement so they can easily identify if it is suitable for their participation.
Cross-posted from discord-api-docs
Accedi per aggiungere un commento.
Commenti
0 commenti