diff -r dc47d7d2ff34 -r f457742dd3d6 src/eric7/UI/UserInterface.py --- a/src/eric7/UI/UserInterface.py Sun Sep 03 17:35:15 2023 +0200 +++ b/src/eric7/UI/UserInterface.py Mon Sep 04 17:58:15 2023 +0200 @@ -1707,7 +1707,9 @@ if os.path.exists(filename): # eric was installed via pip (i.e. eric-ide) with contextlib.suppress(OSError): - installDateTime = datetime.datetime.now(tz=None) + installDateTime = datetime.datetime.now( + tz=datetime.timezone.utc + ) with open(filename, "r") as infoFile: installInfo = json.load(infoFile) installInfo["guessed"] = True @@ -1768,7 +1770,7 @@ ) > os.path.getmtime(installInfoFile): # eric was updated via pip (i.e. eric-ide) # just update the installation date and time - installDateTime = datetime.datetime.now(tz=None) + installDateTime = datetime.datetime.now(tz=datetime.timezone.utc) installInfo["installed_on"] = installDateTime.strftime( "%Y-%m-%d %H:%M:%S" )