liberation recipe: Add missing space in date format

This commit is contained in:
Mickaël Rémond 2024-09-27 14:51:59 +02:00 committed by GitHub
parent 6b6fcf6e5a
commit d796bb25f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)