Joan <aseq...@gmail.com> added the comment:
Issue can be reproduced with this snippet: --- import locale from datetime import datetime locale.setlocale(locale.LC_ALL, 'ca_AD.utf8') locale.setlocale(locale.LC_ALL, 'ca_ES.utf8') #locale.setlocale(locale.LC_ALL, 'es_ES.utf8') now = datetime.now() # current date and time date_time = now.strftime("|%b|%B|") print("date and time:",date_time) --- ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38220> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com