Page MenuHomePhabricator

Split "date and time" as-of message format to date and to time
Open, Needs TriagePublicFeature

Description

Hi. As a result of T278440: Local time compatibility and consequent discussion at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GlobalWatchlist/+/1221985, I suggest to split the format. The task above uses "As of $1 ($4)" message, with $1 as "date and time" and $4 as the time zone. It will be better to use also $2 as date and $3 as time, to make the message translations more flexible. For example, hewiki "date and time" format looks unnatural to the language style, and it can be fixed. If there will also $1 as "date and time", and also $2 as date and $3 as time, the translators could choose the better version for their language (As of $1 vs. As of $2 <connector> $3). Thank you

Related Objects

Event Timeline

Yes, this is a good idea. It's fairly common to do dates and times like that, e.g. in messages like 'rclistfrom' or 'userrights-expiry-current'. It's also advised here: https://www.mediawiki.org/wiki/Help:System_message#Separate_times_from_dates_in_sentences