Xqt added a comment.

Cannot follow. I used your example and got:

>>> dateofbirth
WbTime(year=1812, month=1, day=1, hour=0, minute=0, second=0, precision=9, before=0, after=0, timezone=0, calendarmodel=http://www.wikidata.org/entity/Q1985727)
>>> dateofdeath
WbTime(year=1878, month=1, day=1, hour=0, minute=0, second=0, precision=9, before=0, after=0, timezone=0, calendarmodel=http://www.wikidata.org/entity/Q1985727)
>>> countryinception
WbTime(year=1927, month=4, day=12, hour=0, minute=0, second=0, precision=11, before=0, after=0, timezone=0, calendarmodel=http://www.wikidata.org/entity/Q1985727)
>>> dateofbirth < dateofdeath
True
>>> dateofbirth < countryinception
True
>>> dateofdeath < countryinception
True
>>>

The comparison looks right. The script should be investigated but which is it?


TASK DETAIL
https://phabricator.wikimedia.org/T148280

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, Wesalius, Aklapper, pywikibot-bugs-list, Multichill, Miriya52, MayS, Mdupont, JJMC89, jayvdb, Ricordisamoa, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to