When pywikibot is setup for Wikidata, and therefore the language code "wikidata" is chosen in the configuration (I set mine up with generate_user_files.py), attempting to use the date formatting from the date module fails.
Traceback (most recent call last): [...] File "/path/to/core/pywikibot/pagegenerators.py", line 2104, in DayPageGenerator firstPage = pywikibot.Page(site, fd(startMonth, 1)) File "/path/to/core/pywikibot/date.py", line 2337, in __call__ return formats['Day_' + enMonthNames[m-1]][self.site.code](d) KeyError: 'wikidata'