Hello,
I am passing to Aspose.Words a date string value with a timezone. A sample date would be: “01/08/2020 08:47 AM EST”
The field in the Word template is defined as the following: { MERGEFIELD “AuthRequestDateTime” @ “MM/dd/yyyy” }
The generated pdf document is showing the date string without applying the switch specified in the template to format the date. It shows “01/08/2020 08:47 AM EST”, but it should show “01/08/2020” instead.
I have tested the switch in Word without using Aspose.Words, and the switch is applied correctly. Is this a bug in the library? I am using version 15.5.0.
I have attached a sample Word document with an access DB with the dates where this can be tested.
Thanks
sample letter with dates.zip (15.2 KB)