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