From: Christophe VERGNE Date: Mon, 11 Dec 2017 12:17:42 +0000 (+0100) Subject: Fix #3448 - pubDate now conformant to Date and Time specifications defined by RFC822 X-Git-Tag: 2.3.0~4^2 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=70d73bdd863f16eb2bd5cae75dd5f93bacced578 Fix #3448 - pubDate now conformant to Date and Time specifications defined by RFC822 --- 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 d70aa5dc..25d09ec3 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 -}}]]>