about summary refs log tree commit diff stats
path: root/app/views
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-07-03 22:30:52 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-07-03 22:30:52 -0400
commit1794920731d00d5639f3cf53408d7ef96e22a607 (patch)
tree0444271c523c297d85150379863dba9a58144e66 /app/views
parent77c3c18fe2a28f5ed94cd815d07f04de39b26e60 (diff)
downloadthoughts-1794920731d00d5639f3cf53408d7ef96e22a607.tar.gz
thoughts-1794920731d00d5639f3cf53408d7ef96e22a607.tar.bz2
thoughts-1794920731d00d5639f3cf53408d7ef96e22a607.zip
Tweaked datetime formatting
Diffstat (limited to 'app/views')
-rw-r--r--app/views/blogs/show.html.haml2
-rw-r--r--app/views/updates/_update.html.haml2
2 files changed, 2 insertions, 2 deletions
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 @@
3%footer#blog-footer 3%footer#blog-footer
4 This entry was posted on 4 This entry was posted on
5 = succeed "." do 5 = succeed "." do
6 %time= @blog.created_at.strftime("%B #{@blog.created_at.day.ordinalize} %Y at %-I:%M:%S%P") 6 %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 @@
1%section.stream-update.entry-content{ id: "update-#{update.id}" } 1%section.stream-update.entry-content{ id: "update-#{update.id}" }
2 %time.update-posted= update.created_at.strftime("%b #{update.created_at.day.ordinalize} %Y at %-I:%M:%S%P") 2 %time.update-posted= update.created_at.strftime("%B #{update.created_at.day.ordinalize}, %Y at %-I:%M:%S%P")
3 = update.body.html_safe 3 = update.body.html_safe