Add date to Article JSON representation

This commit is contained in:
Wesley Moore 2010-02-01 12:58:26 +11:00
parent 6f8757b620
commit bd9a1b4aa5

View file

@ -14,6 +14,7 @@ module WezM
{
:title => article[:title],
:path => article.identifier,
:date => Time.parse(article[:created_at]).rfc2822,
}
end