CondaPackageDetailsWidget: fixed calculation of the timestamp. conda

Sat, 09 Feb 2019 18:15:10 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 09 Feb 2019 18:15:10 +0100
branch
conda
changeset 6713
84024511120e
parent 6712
91fa67e8ebbc
child 6714
7718e9b548fa

CondaPackageDetailsWidget: fixed calculation of the timestamp.

CondaInterface/CondaPackageDetailsWidget.py file | annotate | diff | comparison | revisions
--- a/CondaInterface/CondaPackageDetailsWidget.py	Sat Feb 09 16:43:49 2019 +0100
+++ b/CondaInterface/CondaPackageDetailsWidget.py	Sat Feb 09 18:15:10 2019 +0100
@@ -57,7 +57,7 @@
             self.dependenciesEdit.setPlainText("\n".join(details["depends"]))
         
         if "timestamp" in details:
-            dt = QDateTime.fromSecsSinceEpoch(details["timestamp"], Qt.UTC)
+            dt = QDateTime.fromMSecsSinceEpoch(details["timestamp"], Qt.UTC)
             self.timestampLabel.setText(dt.toString("yyyy-MM-dd hh:mm:ss t"))
         
         self.resize(600, 500)

eric ide

mercurial