eric7/WebBrowser/Bookmarks/NsHtmlReader.py

branch
eric7
changeset 8382
28f7ef365d1b
parent 8318
962bce857696
child 8556
766e1566cb74
--- a/eric7/WebBrowser/Bookmarks/NsHtmlReader.py	Tue May 25 17:37:59 2021 +0200
+++ b/eric7/WebBrowser/Bookmarks/NsHtmlReader.py	Wed May 26 17:26:12 2021 +0200
@@ -84,7 +84,7 @@
                 node.expanded = self.__foldedRx.search(arguments) is None
                 addedMatch = self.__addedRx.search(arguments)
                 if addedMatch is not None:
-                    node.added = QDateTime.fromTime_t(
+                    node.added = QDateTime.fromSecsSinceEpoch(
                         int(addedMatch.group(1)))
                 folders.append(node)
                 lastNode = node
@@ -104,15 +104,15 @@
                     node.url = match1.group(1)
                 match1 = self.__addedRx.search(arguments)
                 if match1 is not None:
-                    node.added = QDateTime.fromTime_t(
+                    node.added = QDateTime.fromSecsSinceEpoch(
                         int(match1.group(1)))
                 match1 = self.__modifiedRx.search(arguments)
                 if match1 is not None:
-                    node.modified = QDateTime.fromTime_t(
+                    node.modified = QDateTime.fromSecsSinceEpoch(
                         int(match1.group(1)))
                 match1 = self.__visitedRx.search(arguments)
                 if match1 is not None:
-                    node.visited = QDateTime.fromTime_t(
+                    node.visited = QDateTime.fromSecsSinceEpoch(
                         int(match1.group(1)))
                 lastNode = node
             

eric ide

mercurial