aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorChristophe VERGNE <christophe.vergne@gmail.com>2017-12-11 13:17:42 +0100
committerChristophe VERGNE <christophe.vergne@gmail.com>2017-12-11 13:17:42 +0100
commit70d73bdd863f16eb2bd5cae75dd5f93bacced578 (patch)
tree93c68bb26dc7436c25e74bcf91efe62bb4706189 /src
parente9a4231d4f39c5d330d581113f577ff3ef1a3cf9 (diff)
downloadwallabag-70d73bdd863f16eb2bd5cae75dd5f93bacced578.tar.gz
wallabag-70d73bdd863f16eb2bd5cae75dd5f93bacced578.tar.zst
wallabag-70d73bdd863f16eb2bd5cae75dd5f93bacced578.zip
Fix #3448 - pubDate now conformant to Date and Time specifications defined by RFC822
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig4
1 files 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 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 @@
11 <link rel="next" href="{{ url }}?page={{ entries.nextPage }}"/> 11 <link rel="next" href="{{ url }}?page={{ entries.nextPage }}"/>
12 {% endif -%} 12 {% endif -%}
13 <link rel="last" href="{{ url }}?page={{ entries.nbPages }}"/> 13 <link rel="last" href="{{ url }}?page={{ entries.nbPages }}"/>
14 <pubDate>{{ "now"|date('D, d M Y H:i:s') }}</pubDate> 14 <pubDate>{{ "now"|date(constant('DATE_RSS')) }}</pubDate>
15 <generator>wallabag</generator> 15 <generator>wallabag</generator>
16 <description>wallabag {{ type }} elements</description> 16 <description>wallabag {{ type }} elements</description>
17 17
@@ -22,7 +22,7 @@
22 <source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source> 22 <source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source>
23 <link>{{ entry.url }}</link> 23 <link>{{ entry.url }}</link>
24 <guid>{{ entry.url }}</guid> 24 <guid>{{ entry.url }}</guid>
25 <pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate> 25 <pubDate>{{ entry.createdAt|date(constant('DATE_RSS')) }}</pubDate>
26 <description> 26 <description>
27 <![CDATA[{%- if entry.readingTime > 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]> 27 <![CDATA[{%- if entry.readingTime > 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]>
28 </description> 28 </description>