Ordre des status

Signed-off-by: Gato <cedric@goutailler-olivier.fr>
This commit is contained in:
2026-05-28 20:58:40 +02:00
parent 3450066c6f
commit b9ee016119
15 changed files with 667 additions and 24 deletions
+5 -5
View File
@@ -100,11 +100,11 @@ export class Dashboard {
protected formatDate(iso: string): string {
if (!iso) return '—';
return new Date(iso).toLocaleDateString('fr-FR', {
day: '2-digit',
month: '2-digit',
year: 'numeric',
});
const d = new Date(iso);
const day = String(d.getDate()).padStart(2, '0');
const month = String(d.getMonth() + 1).padStart(2, '0');
const year = d.getFullYear();
return `${day}/${month}/${year}`;
}
protected typeIcon(type: IssueEntity['type']): { letter: string; bg: string } {