PDF Form.FillFields incorrect date

I am using Aspose.Pdf.Facades.Form.FillFIeld (asapose.PDF version 20.4.0) to insert a date (13/06/1981 french format) into a fillable PDF file. When I open the filled PDF, the date is displayed with the year 3881 instead of 1981.The month and the day are also switched.

To insert the date, I have the code :
Aspose.Pdf.Facades.Form pdfForm=new Aspose.Pdf.Facades.Form(directory);
string value=“13/06/1981”;
pdfForm.FillField(allfields[i], value);

Thank in advance for your reply

@arteliaAngelique

Would you please share the sample PDF document and field name with us where you want to insert the date. We will test the scenario in our environment and address it accordingly.

2759-sd_1730.pdf (830.3 KB)

The field name is a22.

Thanks

@arteliaAngelique

We were able to reproduce the issue in our environment while using Aspose.PDF for .NET 20.7. Hence, have logged it as PDFNET-48568 in our issue management system for the sake of rectification. We will further check this in details and keep you posted with the status of ticket resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as PDFNET-48568) have been fixed in Aspose.PDF for .NET 23.11.