Page MenuHomePhabricator

Add calendar hint to backend time formatter
Closed, ResolvedPublic

Description

The frontend formatter used to add a hint about the calendar model in specific cases:

year > 1581 && year < 1930 || year <= 1581 && calendar === 'Gregorian' || year >= 1930 && calendar === 'Julian'

<sup>Gregorian</sup>

There is also special CSS applied to that element in https://github.com/wmde/ValueView/blob/6dcc56edcffc97da131d5f4ac6ebd12eacd7aadd/src/experts/TimeValue.css, so the sup would need a class since the wrapper class does not exist anymore.


Version: master
Severity: normal
Whiteboard: u=dev c=backend p=8

Details

Reference
bz62377

Event Timeline

bzimport raised the priority of this task from to High.
bzimport set Reference to bz62377.

Change 117833 had a related patch set uploaded by Adrian Lang:
Add optional calendar name to HTML-formatted times

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

Change 117833 merged by Addshore:
Add optional calendar name to HTML-formatted times

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