mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
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