Page MenuHomePhabricator

Replace our use of Intl.RelativeTimeFormat with the convenience wrapper mediawiki.DateFormatter now it exists?
Open, In Progress, LowPublic

Description

Not a high priority, but as of today mediawiki.DateFormatter has landed and might let us get date formats without having to call mw.config.get( 'wgUserLanguage' ) etc. ourselves.

Event Timeline

Change #1211643 had a related patch set uploaded (by Daphne Smit; author: Daphne Smit):

[mediawiki/extensions/WikiLambda@master] Replace our use of Intl.RelativeTimeFormat with the convenience wrapper mediawiki.DateFormatter now it exists

https://gerrit.wikimedia.org/r/1211643

Change #1211643 merged by Jforrester:

[mediawiki/extensions/WikiLambda@master] Replace our use of Intl.RelativeTimeFormat with the convenience wrapper mediawiki.DateFormatter now it exists

https://gerrit.wikimedia.org/r/1211643