Merge branch 'mremond-liberation-1' of https://github.com/mremond/calibre

This commit is contained in:
Kovid Goyal 2024-10-01 18:34:54 +05:30
commit 4755a6cd5f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -34,7 +34,7 @@ def json_to_html(raw):
auth = '<p class="auth">{}</p>\n'
dt = datetime.fromisoformat(data['last_updated_date'][:-1]) + timedelta(seconds=time.timezone)
dt = dt.strftime(m_fr[dt.month] + '%d, %Y')
dt = dt.strftime(m_fr[dt.month] + ' %d, %Y')
a = [x['name'] for x in data['credits']['by']]
if a:
auth = auth.format(', '.join(a) + ' | ' + dt)