https://bugzilla.wikimedia.org/show_bug.cgi?id=64502
Bug ID: 64502 Summary: Add more advanced time/date parsing functionality to textlib.py Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: maarten@mdammers.nl Web browser: --- Mobile Platform: ---
Textlib.py (https://git.wikimedia.org/blob/pywikibot%2Fcore.git/HEAD/pywikibot%2Ftextlib...) is used to parse wikitext and the output machine readable objects. It currently contains some functionality to parse time and date.
See https://www.wikidata.org/wiki/User:Underlying_lk/harvest_template_old.py for more expanded functionality.