chore: book date fixes

This commit is contained in:
Cory Dransfeldt 2023-07-07 13:55:46 -07:00
parent 316cd9e83d
commit b74b49f52d
No known key found for this signature in database
4 changed files with 4 additions and 3 deletions

View file

@ -11,7 +11,7 @@ permalink: /books.xml
<entry>
<title>{{ book.title | escape }}</title>
<link href="{{book.link}}" />
<updated>{{ book.finished | date: "%m.%d.%Y" }}</updated>
<updated>{{ book.started | date: "%m.%d.%Y" }}</updated>
<id>{{ book.link }}</id>
<content type="html"></content>
</entry>

View file

@ -13,7 +13,7 @@ permalink: '/books.json'
"title": "{{ book.title | escape }}",
"url": "{{ book.link }}",
"content_text": "",
"date_published": "{{ book.finished | date: "%Y-%m-%dT%H:%M:%S-08:00" }}"
"date_published": "{{ book.started | date: "%Y-%m-%dT%H:%M:%S-08:00" }}"
}{% if not forloop.last %},{% endif %}
{% endfor %}
]