forked from wezm/wezm.net
Add date to Article JSON representation
This commit is contained in:
parent
6f8757b620
commit
bd9a1b4aa5
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ module WezM
|
|||
{
|
||||
:title => article[:title],
|
||||
:path => article.identifier,
|
||||
:date => Time.parse(article[:created_at]).rfc2822,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue