Closed City-busz closed 4 months ago
Thanks for investigating this.
.fromisoformat
on Python 3.6-3.10 does not support the 'Z' suffix to indicate timezone, so we need an additional .replace('Z', '+00:00')
as mentioned in this thread
Okay, I updated the MR to include this replace for compatibility.
The ISO formatted string can be stored in multiple formats. Use the built-in datetime.isoformat() and datetime.fromisoformat() functions, which able to handle all variants.
Fixes: https://github.com/libkeepass/pykeepass/issues/382