Skip to content

Commit

Permalink
explicitly ask for utf-8 in locale
Browse files Browse the repository at this point in the history
  • Loading branch information
BusyBeaver-42 authored Nov 23, 2023
1 parent 45be0b3 commit d4bdf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/metadata_checker/metadata_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def check_license_date(


def get_month_abbreviation(month_number: int) -> str:
with calendar.different_locale(("en_US", None)) as encoding:
with calendar.different_locale(("en_US", "utf-8")) as encoding:
abbreviation = calendar.month_abbr[month_number]
if encoding is not None:
abbreviation = abbreviation.decode(encoding)
Expand Down

0 comments on commit d4bdf4e

Please sign in to comment.