mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-07 07:58:48 +00:00
Fix #3448 - pubDate now conformant to Date and Time specifications defined by RFC822
This commit is contained in:
parent
e9a4231d4f
commit
70d73bdd86
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
<link rel="next" href="{{ url }}?page={{ entries.nextPage }}"/>
|
<link rel="next" href="{{ url }}?page={{ entries.nextPage }}"/>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
<link rel="last" href="{{ url }}?page={{ entries.nbPages }}"/>
|
<link rel="last" href="{{ url }}?page={{ entries.nbPages }}"/>
|
||||||
<pubDate>{{ "now"|date('D, d M Y H:i:s') }}</pubDate>
|
<pubDate>{{ "now"|date(constant('DATE_RSS')) }}</pubDate>
|
||||||
<generator>wallabag</generator>
|
<generator>wallabag</generator>
|
||||||
<description>wallabag {{ type }} elements</description>
|
<description>wallabag {{ type }} elements</description>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source>
|
<source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source>
|
||||||
<link>{{ entry.url }}</link>
|
<link>{{ entry.url }}</link>
|
||||||
<guid>{{ entry.url }}</guid>
|
<guid>{{ entry.url }}</guid>
|
||||||
<pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate>
|
<pubDate>{{ entry.createdAt|date(constant('DATE_RSS')) }}</pubDate>
|
||||||
<description>
|
<description>
|
||||||
<![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 -}}]]>
|
<![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 -}}]]>
|
||||||
</description>
|
</description>
|
||||||
|
|
Loading…
Reference in a new issue