0
0

formatted the date

fixes #6
This commit is contained in:
Gibheer 2011-07-20 20:09:28 +02:00
parent 9949d409f8
commit cd65fe811e

View File

@ -4,5 +4,11 @@
%a{:href => "/post/#{@post.id}"}=@post.title
%footer
.author=@post.account.username
.date=@post.written
.date
.day=@post.written.strftime('%d')
.month=@post.written.strftime('%B')
.year=@post.written.strftime('%Y')
.time
.hour=@post.written.strftime('%H')
.minute=@post.written.strftime('%M')
%section~markup(@post.content, @post.markup)