ref 2977. Actualizar formato horario

pull/97/head
Manuel Aranda Rosales 2026-07-07 17:22:58 +02:00
parent 5755b79bc7
commit fe75009481
6 changed files with 14 additions and 14 deletions

View File

@ -105,13 +105,13 @@
<ng-container *ngSwitchCase="'executedAt'">
<div style="display: flex; flex-direction: column;">
<span style="font-size: 0.8rem;"> {{ trace.executedAt |date: 'dd/MM/yyyy hh:mm:ss'}}</span>
<span style="font-size: 0.8rem;"> {{ trace.executedAt |date: 'dd/MM/yyyy HH:mm:ss'}}</span>
</div>
</ng-container>
<ng-container *ngSwitchCase="'finishedAt'">
<div style="display: flex; flex-direction: column;">
<span style="font-size: 0.8rem;"> {{ trace.finishedAt |date: 'dd/MM/yyyy hh:mm:ss'}}</span>
<span style="font-size: 0.8rem;"> {{ trace.finishedAt |date: 'dd/MM/yyyy HH:mm:ss'}}</span>
</div>
</ng-container>
<ng-container *ngSwitchDefault>

View File

@ -53,12 +53,12 @@ export class ClientPendingTasksComponent implements OnInit {
{
columnDef: 'executedAt',
header: 'execution',
cell: (trace: any) => this.datePipe.transform(trace.executedAt, 'dd/MM/yyyy hh:mm:ss'),
cell: (trace: any) => this.datePipe.transform(trace.executedAt, 'dd/MM/yyyy HH:mm:ss'),
},
{
columnDef: 'finishedAt',
header: 'ending',
cell: (trace: any) => this.datePipe.transform(trace.finishedAt, 'dd/MM/yyyy hh:mm:ss'),
cell: (trace: any) => this.datePipe.transform(trace.finishedAt, 'dd/MM/yyyy HH:mm:ss'),
},
];
displayedColumns = [...this.columns.map(column => column.columnDef), 'information'];

View File

@ -137,13 +137,13 @@
<ng-container *ngSwitchCase="'executedAt'">
<div style="display: flex; flex-direction: column;">
<span style="font-size: 0.8rem;"> {{ trace.executedAt |date: 'dd/MM/yyyy hh:mm:ss'}}</span>
<span style="font-size: 0.8rem;"> {{ trace.executedAt |date: 'dd/MM/yyyy HH:mm:ss'}}</span>
</div>
</ng-container>
<ng-container *ngSwitchCase="'finishedAt'">
<div style="display: flex; flex-direction: column;">
<span style="font-size: 0.8rem;"> {{ trace.finishedAt |date: 'dd/MM/yyyy hh:mm:ss'}}</span>
<span style="font-size: 0.8rem;"> {{ trace.finishedAt |date: 'dd/MM/yyyy HH:mm:ss'}}</span>
</div>
</ng-container>
<ng-container *ngSwitchDefault>

View File

@ -65,12 +65,12 @@ export class ClientTaskLogsComponent implements OnInit {
{
columnDef: 'executedAt',
header: 'execution',
cell: (trace: any) => this.datePipe.transform(trace.executedAt, 'dd/MM/yyyy hh:mm:ss'),
cell: (trace: any) => this.datePipe.transform(trace.executedAt, 'dd/MM/yyyy HH:mm:ss'),
},
{
columnDef: 'finishedAt',
header: 'ending',
cell: (trace: any) => this.datePipe.transform(trace.finishedAt, 'dd/MM/yyyy hh:mm:ss'),
cell: (trace: any) => this.datePipe.transform(trace.finishedAt, 'dd/MM/yyyy HH:mm:ss'),
},
];
displayedColumns = [...this.columns.map(column => column.columnDef), 'information'];

View File

@ -316,14 +316,14 @@
<ng-container *ngSwitchCase="'executedAt'">
<div class="date-cell">
<span class="date-time">{{ trace.executedAt |date: 'dd/MM/yyyy hh:mm:ss'}}</span>
<span class="date-time">{{ trace.executedAt |date: 'dd/MM/yyyy HH:mm:ss'}}</span>
<span class="date-relative" *ngIf="getRelativeTime(trace.executedAt)">{{ getRelativeTime(trace.executedAt) }}</span>
</div>
</ng-container>
<ng-container *ngSwitchCase="'finishedAt'">
<div class="date-cell">
<span class="date-time">{{ trace.finishedAt |date: 'dd/MM/yyyy hh:mm:ss'}}</span>
<span class="date-time">{{ trace.finishedAt |date: 'dd/MM/yyyy HH:mm:ss'}}</span>
<span class="date-relative" *ngIf="getRelativeTime(trace.finishedAt)">{{ getRelativeTime(trace.finishedAt) }}</span>
</div>
</ng-container>

View File

@ -101,13 +101,13 @@ export class TaskLogsComponent implements OnInit, OnDestroy {
{
columnDef: 'executedAt',
header: 'execution',
cell: (trace: any) => this.datePipe.transform(trace.executedAt, 'dd/MM/yyyy hh:mm:ss'),
cell: (trace: any) => this.datePipe.transform(trace.executedAt, 'dd/MM/yyyy HH:mm:ss'),
sortable: true
},
{
columnDef: 'finishedAt',
header: 'ending',
cell: (trace: any) => this.datePipe.transform(trace.finishedAt, 'dd/MM/yyyy hh:mm:ss'),
cell: (trace: any) => this.datePipe.transform(trace.finishedAt, 'dd/MM/yyyy HH:mm:ss'),
sortable: true
},
];
@ -258,8 +258,8 @@ export class TaskLogsComponent implements OnInit, OnDestroy {
this.translateCommand(trace.command),
trace.client?.name || '',
trace.status,
this.datePipe.transform(trace.executedAt, 'dd/MM/yyyy hh:mm:ss'),
this.datePipe.transform(trace.finishedAt, 'dd/MM/yyyy hh:mm:ss'),
this.datePipe.transform(trace.executedAt, 'dd/MM/yyyy HH:mm:ss'),
this.datePipe.transform(trace.finishedAt, 'dd/MM/yyyy HH:mm:ss'),
trace.jobId || ''
]);