It should be possible to enter time values in the interface language. In German for example I want to be able to enter "20. Jahrhundert" and have it recognized by the UI.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T87764 Bugs related to time datatype (tracking) | |||
Resolved | hoo | T127820 Use localiezd data format when showing TimeValues on the client | |||
Resolved | hoo | T95532 [Story] allow localized input of time values |
Event Timeline
Change 203018 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
Remove broken unlocalization from MwTimeIsoFormatter
Change 203018 merged by jenkins-bot:
Remove broken unlocalization from MwTimeIsoFormatter
Both the MwTimeIsoFormatter and the MWTimeIsoParser are still formatting/parsing these messages in English and English only. We made the messages translatable but the localized messages are currently not used, at least not in the repo view and editors.
Note that this ticket should be split into two:
- First, make MWTimeIsoParser aware of localized messages. Then enable localization in MwTimeIsoFormatter.
- Finish my new DateFormatParser and MwDateFormatParser, see https://github.com/DataValues/Time/pull/83 and https://gerrit.wikimedia.org/r/#/c/153211/.
Change 153211 had a related patch set uploaded (by Thiemo Mättig (WMDE)):
[WIP] Add MwDateFormatParser
Change 278234 had a related patch set uploaded (by Hoo man):
Don't assume English in MwTimeIsoParser
Change 153211 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add DateFormatParser and MwDateFormatParserFactory