1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-29 11:30:31 +00:00

changed datetime format of published tag

This commit is contained in:
Thore Schillmann 2022-06-09 20:35:44 +00:00
parent 0f3f918153
commit 2816a75c3e

View File

@ -53,7 +53,7 @@
<name>{{entry.Books.publishers[0].name}}</name>
</publisher>
{% endif %}
<published>{{entry.Books.pubdate}}</published>
<published>{{entry.Books.pubdate.strftime("%Y-%m-%dT%H:%M:%S+00:00")}}</published>
{% for lang in entry.Books.languages %}
<dcterms:language>{{lang.lang_code}}</dcterms:language>
{% endfor %}