Page MenuHomePhabricator

Echo uses Gregorian calendar regardless of user preferences
Open, Needs TriagePublic

Description

Reporting on behalf of fa:User:Arfarshchi per this comment on my talk page.

The user has set their preferences to use Jalali (aka Persian) calendar and this correctly reflects in Watchlist, RecentChanges and page history. But notifications from Echo are still showing him dates in Gregorian (default) calendar.

Event Timeline

Huji created this task.Jan 5 2017, 5:08 PM
Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptJan 5 2017, 5:08 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@jmatazzoni The Language team is not planning to work on Echo, but can provide advice. Please clearly state what you are looking from us.

My understanding is that the calendar is not really part of Notifications but is powered by a more fundamental layer of the system. The thinking of the team was that if WMF wants to allow for alternative calendars, then that goes beyond Collaboration Team's scope of authority and responsibility. @Catrope could explain better. I see this is already part of "MediaWiki Internationalization" and "Mediawiki User preferences." I don't know what team has responsibility for these project, but maybe this ball is properly in their court?

One quick thought is that you use Moment.js to format the dates. I am not sure whether it supports other calendar formats as we do in PHP side.

Restricted Application added a project: Growth-Team. · View Herald TranscriptSep 2 2018, 10:09 AM