Steps to replicate the issue (include links if applicable):
- generate wbtime with date and time: pywikibot.WbTime(dt.year, dt.month, dt.day, dt.hour, dt.minute, dt.second)
- set wbtime into target: .setTarget(wbtime)
- this results in error: "Malformed input: +2024-02-13T06:35:51Z"
- the example works with time (only date): pywikibot.WbTime(dt.year, dt.month, dt.day)
- expectation is that when wbtime is generated by given parameters pywikibot would know how to handle what it generates for itself
- preferred way would be that it would accept python datetime correctly, but it doesn't handle that either
What happens?:
What should have happened instead?:
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):