Hi,
Scenario
I use Aspose.Words to convert Word documents to PDF.
Issue
Recently noticed that Aspose.Words using current thread’s culture to convert DATE/TIME fields. Style settings are ignored. As a result, french date is changed to another (English in my case). See file after converting it to PDF.
Sample file that contains one paragraph with TIME filed. Paragraph style is Normal. Normal style has Canadian French (fr-CA) as a language.
Part of ‘Normal’ style definition from “word\styles.xml”:
<w:style w:type=“paragraph” w:default=“1” w:styleId=“Normal”>
<w:name w:val=“Normal”/>
<w:qFormat/>
<w:rsid w:val=“00015C82”/>
<w:pPr>
<w:spacing w:after=“0” w:line=“240” w:lineRule=“auto”/>
<w:jc w:val=“both”/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii=“Arial” w:eastAsia=“Times New Roman” w:hAnsi=“Arial” w:cs=“Times New Roman”/>
<w:szCs w:val=“24”/>
<w:lang w:val=“fr-CA” w:eastAsia=“fr-CA”/>
</w:rPr>
</w:style>