Add support for PostgresDB and save date as Date

This commit is contained in:
Jan Oberhauser
2019-07-22 20:29:06 +02:00
parent d027545986
commit a9453806b8
27 changed files with 310 additions and 73 deletions

View File

@@ -623,8 +623,8 @@ export class WorkflowExecute {
const fullRunData: IRun = {
data: runExecutionData,
mode: this.mode,
startedAt,
stoppedAt: new Date().getTime(),
startedAt: new Date(startedAt),
stoppedAt: new Date(),
};
if (executionError !== undefined) {
@@ -643,8 +643,8 @@ export class WorkflowExecute {
const fullRunData: IRun = {
data: runExecutionData,
mode: this.mode,
startedAt,
stoppedAt: new Date().getTime(),
startedAt: new Date(startedAt),
stoppedAt: new Date(),
};
fullRunData.data.resultData.error = {