mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[processing] log the start time (fix #44292)
This commit is contained in:
parent
08d8ccb1e6
commit
60b74efdc1
@ -22,6 +22,7 @@ __date__ = 'August 2012'
|
|||||||
__copyright__ = '(C) 2012, Victor Olaya'
|
__copyright__ = '(C) 2012, Victor Olaya'
|
||||||
|
|
||||||
from pprint import pformat
|
from pprint import pformat
|
||||||
|
import datetime
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from qgis.PyQt.QtCore import QCoreApplication
|
from qgis.PyQt.QtCore import QCoreApplication
|
||||||
@ -156,6 +157,11 @@ class AlgorithmDialog(QgsProcessingAlgorithmDialogBase):
|
|||||||
self.feedback.reportError(self.algorithm().provider().warningMessage())
|
self.feedback.reportError(self.algorithm().provider().warningMessage())
|
||||||
|
|
||||||
self.setProgressText(QCoreApplication.translate('AlgorithmDialog', 'Processing algorithm…'))
|
self.setProgressText(QCoreApplication.translate('AlgorithmDialog', 'Processing algorithm…'))
|
||||||
|
self.feedback.pushInfo(
|
||||||
|
QCoreApplication.translate('AlgorithmDialog', 'Algorithm started at: {}').format(
|
||||||
|
datetime.datetime.now().replace(microsecond=0).isoformat()
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
self.setInfo(
|
self.setInfo(
|
||||||
QCoreApplication.translate('AlgorithmDialog', '<b>Algorithm \'{0}\' starting…</b>').format(
|
QCoreApplication.translate('AlgorithmDialog', '<b>Algorithm \'{0}\' starting…</b>').format(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user