input Json is
{ “AuthorityNumber”: “1715-1”,
“StartDate”: “2021-08-06”,
“ExpiryDate”: “2035-08-05”,
}
tags in Word document template is
<<[AuthorityNumber]>>
<<[StartDate]:“dd-MMM-yyyy”>>
<<[ExpiryDate] :“dd-MMM-yyyy”>>
Now, if without any setting on JsonDataLoadOptions.ExactDateTimeParseFormat
The result is
1/1/1715 12:00:00 AM
06-Aug-2021
05-Aug-2035
If I add a setting
JsonDataLoadOptions options = new JsonDataLoadOptions();
options.ExactDateTimeParseFormats = Enumerable.Empty();
The result is
1715-1
2021-08-06
2035-08-05
However what I want is
1715-1
06-Aug-2021
05-Aug-2035
Could you please show me how to do it?
I also tried <<[AuthorityNumber]:upper>>
It is not working at all