mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
111638: Use creation time for scheduled processes
This commit is contained in:
@@ -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"
|
||||
|
@@ -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');
|
||||
|
||||
|
@@ -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",
|
||||
|
||||
|
Reference in New Issue
Block a user