From 38e4553e335a9dfd45c6a4a51840e0abe927bcd3 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 23 Jan 2024 00:03:02 -0600 Subject: [PATCH] Modified the start and end date fields so they display correctly in line with the rest of our design --- app/views/participants/show.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/participants/show.html.erb b/app/views/participants/show.html.erb index c9a9802..3c7e949 100644 --- a/app/views/participants/show.html.erb +++ b/app/views/participants/show.html.erb @@ -33,7 +33,7 @@

DOB: - <%= @participant.dob.strftime('%B, %d, %Y') if @participant.dob.present? %> + <%= @participant.dob.strftime('%B %d, %Y') if @participant.dob.present? %>

@@ -74,8 +74,8 @@ <% @participant.employments.each do |employment| %> <%= employment.worker&.name || 'No Worker Assigned' %> - <%= employment.start_date %> - <%= employment.end_date %> + <%= employment.start_date.strftime('%B %d, %Y') if employment.start_date.present? %> + <%= employment.end_date.strftime('%B %d, %Y') if employment.end_date.present? %> <% end %>