From 8045e9090ebd815c41585f73e073be8c6fbfd038 Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Mon, 11 Mar 2024 23:06:16 -0700 Subject: [PATCH] Use digit padding for consistency Using padded two digit month and day for consistency across the application. Co-authored-by: Stefan Topfstedt --- .../components/curriculum-inventory/new-sequence-block.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/app/components/curriculum-inventory/new-sequence-block.hbs b/packages/frontend/app/components/curriculum-inventory/new-sequence-block.hbs index 2d20e9c3a2..969c03c0d7 100644 --- a/packages/frontend/app/components/curriculum-inventory/new-sequence-block.hbs +++ b/packages/frontend/app/components/curriculum-inventory/new-sequence-block.hbs @@ -46,9 +46,9 @@ {{t "general.level"}}: {{this.course.level}}, {{t "general.startDate"}}: - {{format-date this.course.startDate}}, + {{format-date this.course.startDate day="2-digit" week="2-digit" year="numeric"}}, {{t "general.endDate"}}: - {{format-date this.course.endDate}} + {{format-date this.course.endDate day="2-digit" week="2-digit" year="numeric"}} {{#if this.course.clerkshipType}} -{{t "general.clerkship"}} ({{this.course.clerkshipType.title}}) {{/if}}