From 70d73bdd863f16eb2bd5cae75dd5f93bacced578 Mon Sep 17 00:00:00 2001 From: Christophe VERGNE Date: Mon, 11 Dec 2017 13:17:42 +0100 Subject: [PATCH] Fix #3448 - pubDate now conformant to Date and Time specifications defined by RFC822 --- .../Resources/views/themes/common/Entry/entries.xml.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig index d70aa5dc9..25d09ec31 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig @@ -11,7 +11,7 @@ {% endif -%} - {{ "now"|date('D, d M Y H:i:s') }} + {{ "now"|date(constant('DATE_RSS')) }} wallabag wallabag {{ type }} elements @@ -22,7 +22,7 @@ wallabag {{ entry.url }} {{ entry.url }} - {{ entry.createdAt|date('D, d M Y H:i:s') }} + {{ entry.createdAt|date(constant('DATE_RSS')) }} 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]>