m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/post-template.html.erb
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-07-26 20:10:14 -0700
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-07-26 20:10:14 -0700
commita84badc9cb7c53aa739bd9792adce2601948762f (patch)
tree5946d5f2cfb030e0361152853ae7391da27e4303 /src/post-template.html.erb
parent1a6bac63e6ec22d8ff4029e98de23643003c259b (diff)
Allow for minute-grained date specifications
Diffstat (limited to 'src/post-template.html.erb')
-rw-r--r--src/post-template.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post-template.html.erb b/src/post-template.html.erb
index ece1545..033df48 100644
--- a/src/post-template.html.erb
+++ b/src/post-template.html.erb
@@ -1,2 +1,2 @@
-<h2 style='display: inline'><%= post['title'] %></h2> (<%= post['date'] %>)
+<h2 style='display: inline'><%= post['title'] %></h2> (<%= format_date post['date'] %>)
<%= post['content'] %>