111638: Use creation time for scheduled processes

This commit is contained in:
Andreas Awouters
2024-02-05 16:09:17 +01:00
parent d64f521f0c
commit 5569d7fd32
3 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
<ds-process-overview-table
[processStatus]="ProcessStatus.SCHEDULED"
[useAutoRefreshingSearchBy]="true"
[getInfoValueMethod]="processOverviewService.timeStarted"/>
[getInfoValueMethod]="processOverviewService.timeCreated"/>
<ds-process-overview-table
[processStatus]="ProcessStatus.COMPLETED"
[useAutoRefreshingSearchBy]="true"

View File

@@ -30,6 +30,7 @@ export class ProcessOverviewService {
datePipe = new DatePipe('en-US');
timeCreated = (process: Process) => this.datePipe.transform(process.creationTime, this.dateFormat, 'UTC');
timeCompleted = (process: Process) => this.datePipe.transform(process.endTime, this.dateFormat, 'UTC');
timeStarted = (process: Process) => this.datePipe.transform(process.startTime, this.dateFormat, 'UTC');

View File

@@ -3238,7 +3238,7 @@
"process.overview.table.running.title": "Running processes",
"process.overview.table.scheduled.info": "Start time (UTC)",
"process.overview.table.scheduled.info": "Creation time (UTC)",
"process.overview.table.scheduled.title": "Scheduled processes",