is there a function in pywikibot to give any wiki's date format? I made an own regex using format['MonthName'] from date.py, but perhaps there is a simplier way.

And is there a function to compare two standard format dates (i.e. ~~~~ or ~~~~~) in any wikis? I can easily write one for Hungarian dates, but I would like to offer my script for other wikis.