RPI2026F1 added a comment.
> For example, if the precision is set to "month", the values 2017-04-00 and 2017-04-01 and even 2017-04-25 are all the same and should all return true in a comparison. In terms of OOP this is a bad idea because the values are //not// actually the same. Maybe this can be dealt with by adding a new method "relative_time_equal" which //does// factor in precision when checking for equality. TASK DETAIL https://phabricator.wikimedia.org/T123888 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: RPI2026F1, thiemowmde, Multichill, Aklapper, StudiesWorld, pywikibot-bugs-list, Lokal_Profil, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Ricordisamoa, Masti, Alchimista, RhinosF1
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
