Remaining problem: the name of the day appears in English instead of the document language.
# See also #9744 allow parallel configuration of TeX and non-TeX fonts.
export/templates/acmart_pdf[45]_texF
-# "UnicodeDecodeError" with Python 2
-export/examples/ja/multilingual_lyx.*
-
Sublabel: wrong_output
######################
export/templates/acmart_dvi.*
#export/templates/acmart_ps # not tested by ctest autotests
export/templates/acmart_pdf
+
+# lyx2lyx back-conversion of "Date" info-inset writes
+# the name of the day in English instead of Japanese.
+export/examples/ja/multilingual_lyx.*
fmt = re.sub('[^\'%]d', '%d', fmt)
fmt = fmt.replace("'", "")
result = dte.strftime(fmt)
+ if sys.version_info < (3,0):
+ # In Python 2, datetime module works with binary strings,
+ # our dateformat strings are utf8-encoded:
+ result = result.decode('utf-8')
document.body[i : j+1] = result
i = i + 1