From 1794920731d00d5639f3cf53408d7ef96e22a607 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 3 Jul 2018 22:30:52 -0400 Subject: Tweaked datetime formatting --- app/views/blogs/show.html.haml | 2 +- app/views/updates/_update.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/views/blogs/show.html.haml b/app/views/blogs/show.html.haml index e22a199..c44d3f4 100644 --- a/app/views/blogs/show.html.haml +++ b/app/views/blogs/show.html.haml @@ -3,4 +3,4 @@ %footer#blog-footer This entry was posted on = succeed "." do - %time= @blog.created_at.strftime("%B #{@blog.created_at.day.ordinalize} %Y at %-I:%M:%S%P") + %time= @blog.created_at.strftime("%B #{@blog.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") diff --git a/app/views/updates/_update.html.haml b/app/views/updates/_update.html.haml index c8ce224..57f4158 100644 --- a/app/views/updates/_update.html.haml +++ b/app/views/updates/_update.html.haml @@ -1,3 +1,3 @@ %section.stream-update.entry-content{ id: "update-#{update.id}" } - %time.update-posted= update.created_at.strftime("%b #{update.created_at.day.ordinalize} %Y at %-I:%M:%S%P") + %time.update-posted= update.created_at.strftime("%B #{update.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") = update.body.html_safe -- cgit 1.4.1