Skip to content
Snippets Groups Projects
Commit 69b2116d authored by George Song's avatar George Song Committed by GitHub
Browse files

Merge pull request #14836 from pepeportela/teltek/i18n_certificate_date

Add i18n to date in certificate web
parents 198dbc1e 1ff5333b
No related merge requests found
......@@ -98,7 +98,7 @@ def _update_certificate_context(context, user_certificate, platform_name):
# Translators: The format of the date includes the full name of the month
context['certificate_date_issued'] = _('{month} {day}, {year}').format(
month=user_certificate.modified_date.strftime("%B"),
month=strftime_localized(user_certificate.modified_date, "%B"),
day=user_certificate.modified_date.day,
year=user_certificate.modified_date.year
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment