mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Update the date formatting syntax
This commit is contained in:
parent
3fc943ce2a
commit
13bdef74b3
14 changed files with 36 additions and 36 deletions
|
|
@ -11,7 +11,7 @@ xml.rss :version => "2.0" do
|
|||
xml.item do
|
||||
xml.title h(context.title)
|
||||
xml.description context_summary(context, count_undone_todos_phrase(context))
|
||||
xml.pubDate context.created_at.to_s(:rfc822)
|
||||
xml.pubDate context.created_at.to_formatted_s(:rfc822)
|
||||
xml.link context_url(context)
|
||||
xml.guid context_url(context)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ xml.rss :version => "2.0" do
|
|||
xml.item do
|
||||
xml.title h(todo.description)
|
||||
xml.description feed_content_for_todo(todo)
|
||||
xml.pubDate todo.created_at.to_s(:rfc822)
|
||||
xml.pubDate todo.created_at.to_formatted_s(:rfc822)
|
||||
xml.link (todo.project && !todo.project.is_a?(NullProject)) ? project_url(todo.project) : context_url(todo.context)
|
||||
xml.guid todo_url(todo)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue