Use datetime.ctime().

This commit is contained in:
Florian Bruhin 2015-08-07 22:32:02 +02:00
parent 43e0ac1844
commit 3a85afe1f4

View File

@ -221,7 +221,7 @@ class _CrashDialog(QDialog):
""" """
try: try:
application = QApplication.instance() application = QApplication.instance()
launch_time = application.launch_time.strftime("%d-%m-%Y %H:%M:%S") launch_time = application.launch_time.ctime()
self._crash_info.append(('Launch time', launch_time)) self._crash_info.append(('Launch time', launch_time))
except Exception: except Exception:
self._crash_info.append(("Launch time", traceback.format_exc())) self._crash_info.append(("Launch time", traceback.format_exc()))