From c8315d472cfff82f9443a1040f7f5cff682c30e0 Mon Sep 17 00:00:00 2001 From: Oliver Pelly Date: Mon, 2 Mar 2026 16:25:26 -0800 Subject: [PATCH] mobile fix --- .../src/app/mobile/components/student-card/student-card.html | 2 +- .../src/app/mobile/components/student-card/student-card.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/winstudentgoaltracker/src/app/mobile/components/student-card/student-card.html b/ui/winstudentgoaltracker/src/app/mobile/components/student-card/student-card.html index 6bc197e..cb092c2 100644 --- a/ui/winstudentgoaltracker/src/app/mobile/components/student-card/student-card.html +++ b/ui/winstudentgoaltracker/src/app/mobile/components/student-card/student-card.html @@ -1,6 +1,6 @@

{{ student().identifier }}

- Grad Date: {{ student().expectedGradDate }} + Grad Date: {{ student().expectedGradDate | date:'M/d/yy' }}
{{ student().goalCount }} goals {{ student().progressEventCount }} events diff --git a/ui/winstudentgoaltracker/src/app/mobile/components/student-card/student-card.ts b/ui/winstudentgoaltracker/src/app/mobile/components/student-card/student-card.ts index 6f88cbc..238eb52 100644 --- a/ui/winstudentgoaltracker/src/app/mobile/components/student-card/student-card.ts +++ b/ui/winstudentgoaltracker/src/app/mobile/components/student-card/student-card.ts @@ -1,10 +1,11 @@ import { Component, inject, input } from '@angular/core'; import { Router } from '@angular/router'; import { StudentCardDto } from '../../../shared/classes/student-card.dto'; +import { DatePipe } from '@angular/common'; @Component({ selector: 'app-student-card', - imports: [], + imports: [DatePipe], templateUrl: './student-card.html', styleUrl: './student-card.scss', })