aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-12-11 16:11:23 +0100
committerGitHub <noreply@github.com>2017-12-11 16:11:23 +0100
commit12e7599b3517b3fd7a7fce999e5d27f1165d07b3 (patch)
tree93c68bb26dc7436c25e74bcf91efe62bb4706189 /src/Wallabag
parente9a4231d4f39c5d330d581113f577ff3ef1a3cf9 (diff)
parent70d73bdd863f16eb2bd5cae75dd5f93bacced578 (diff)
downloadwallabag-12e7599b3517b3fd7a7fce999e5d27f1165d07b3.tar.gz
wallabag-12e7599b3517b3fd7a7fce999e5d27f1165d07b3.tar.zst
wallabag-12e7599b3517b3fd7a7fce999e5d27f1165d07b3.zip
Merge pull request #3471 from cvergne/fix-rssdate
Fix #3448 - pubDate now conformant to DateTime RFC822 specifications
Diffstat (limited to 'src/Wallabag')
-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>