From 1e5c7fb5bfcb2004d98d8196953bcf73d01e153c Mon Sep 17 00:00:00 2001 From: Jared Cosulich Date: Fri, 14 Apr 2017 12:51:17 -0400 Subject: [PATCH] better strftime --- app/views/recipients/show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/recipients/show.html.haml b/app/views/recipients/show.html.haml index a031f3af..b6bd139c 100644 --- a/app/views/recipients/show.html.haml +++ b/app/views/recipients/show.html.haml @@ -49,11 +49,11 @@ - if (recipient_schedule = @recipient.recipient_schedules.first).present? %p %strong Last Attempt At: - = recipient_schedule.last_attempt_at.strftime('%A, %b %d') + = recipient_schedule.last_attempt_at.strftime('%m-%e-%y %H:%M') %p %strong Next Attempt At: - = recipient_schedule.next_attempt_at.strftime('%A, %b %d') + = recipient_schedule.next_attempt_at.strftime('%m-%e-%y %H:%M') = link_to 'Edit', edit_school_recipient_path(@school, @recipient) |