--- a/src/eric7/UI/UserInterface.py Fri Sep 01 10:26:51 2023 +0200 +++ b/src/eric7/UI/UserInterface.py Thu Oct 05 09:59:53 2023 +0200 @@ -573,6 +573,9 @@ if self.irc is not None: self.irc.autoConnected.connect(self.__ircAutoConnected) + if self.pipWidget is not None: + self.preferencesChanged.connect(self.pipWidget.preferencesChanged) + # create the toolbar manager object self.toolbarManager = EricToolBarManager(self, self) self.toolbarManager.setMainWindow(self) @@ -1707,7 +1710,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 +1773,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" )