Page MenuHomePhabricator

Replace our use of Intl.RelativeTimeFormat with the convenience wrapper mediawiki.DateFormatter now it exists?
Closed, ResolvedPublic

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

DSmit-WMF changed the task status from Open to In Progress.Nov 26 2025, 11:49 AM
DSmit-WMF claimed this task.

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