https://bugzilla.wikimedia.org/show_bug.cgi?id=70395

--- Comment #1 from Henning <[email protected]> ---
Conversion between Gregorian and Julian had been done back when the TimeValue
was managed in the front-end.
It would definitely by nice to be able to have some widget/gadget that would
show/allow converting a value.

But some observations more specific to this bug:
UI sends a value to the back-end parser. Back-end parser always returns
Gregorian value since it does not have the specific time ranges implemented.
The parsed value is posted to the formatter which, of course, returns the date
in the Gregorian calendar since that one is specified in the parsed value.
The UI itself does not feature any logic regarding calendar management anymore.

Options:
- Implement "defaults" in the parser which would mean having very specific
(kind of "magic") logic in the parser.
- Implement "defaults" logic in the front-end overwriting the Gregorian
calendar returned by the back-end parser as long as the Gregorian calendar has
not been selected specifically. That would mean to have the "defaults" logic in
front-end and back-end (since still needed in back-end formatter).
- Evaluate if having multiple "defaults" is worth having the effort at all.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to