Automaticallly convert date-time in banners
On Twitch, during special events or other events, a banner shows when this starts and/or ends. The problem is that this date and time is hardcoded, written into the text and does not change regardless of which timezone the user is in.
The problems that occur with this are numerous:
- For English, it uses US date format (regardless if UK English is picked), which means when the numerical format is used "8/10" which is intended as August 10, can be read as 8 October. The timezone "PST"/"PDT" can be meaningless to many users.
- For other languages, translations has often been wrong in the past, mixing up am/pm, not converting timezone and not specifying that or coverting it wrong.
- Since even your proffessional translators tend to mix up am/pm, it shouldn't be unexpected that users on Twitch also mix it up, so forcing am/pm in English isn't a good idea (hence why US Engish has 12 hours, UK English has 24 hours).
Recently, Twitch has gone away with translating the date-time alltogether, which is of course worse.
I highly recommend that for these banners, the date-time should be a placeholder, automatically generated based on the user's locale and timezone.
So for the current event as of writing this post, as an example:
"Save up to 30% on new subs until Oct 1 at 10am PDT."
It should utilise a placeholder instead and look more like this in code:
"Save up to 30% on new subs until {endtime}."
"Oct 1 at 10am PDT" would be for anyone using US English and living in western US/Canada.
"1 Oct at 18:00 BST" would be for anyone using UK English and living in United Kingdom.
"1 Oct at 19:00 CEST" would be for anyone using UK English and living in central Europe
But this should also properly apply to other locales as well:
"1 okt. kl. 20:00 EEST" would be for anyone using Swedish and living in Finland
No translations needed, it's fully automatic. No mistakes can happen, as long as the correct date-time is set. Better support than how it is now, and it will actually take the user's timezone into consideration.
Common mistakes that could happe:
- In rare places in Twitch, the wrong formats are hardcoded and appear wrong, ensure that this does not happen:
-- In a pinned message, the time is hardcoded to be displayed in 12-hours regardless of the locale's standard.
-- In a schedule, the user's timezone top left is displayed according to US English regardless of the locale picked.
- Best practice is to let each locale translate the format themselves. US English MMM d 'at' ha z in UK English would best be d MMM 'at' HH:mm z with minutes added. In Swedish d MMM 'kl.' HH:mm z and d MMM 'kl.' HH z both works fine.
-- But ensure the locale follows the locale's standard. For example, UK English should NOT use 12 hours since the standard is 24 hours.
-
PonPonTheDreambunny
commented
Twitch actually did update the banner finally to include dynamic date and time, and it will actually show you your system's timezone regardless of language chosen, which is fantastic.
Let see if this is kept for the next banner.