Closed A6GibKm closed 1 month ago
This comes from
try:
time = element.ctime
except ValueError as err:
logging.error("Invalid creation time: %s", str(err))
"Invalid creation time: %s"
Can you give a stack trace or a link to where that code snippet exists?
As of 4.0.7 (2024-02-29) we use datetime.fromisoformat(...)
, so PyKeePass should already be able to handle the date in the above format.
>>> from datetime import datetime
>>> datetime.fromisoformat('2024-02-07T10:08:46.760348+00:00')
datetime.datetime(2024, 2, 7, 10, 8, 46, 760348, tzinfo=datetime.timezone.utc)
Reopen if the issue persists.
I get the following errors in secrets when reading
entry.ctime
and others.