Date in footer/header is not updated after saving to pdf

Hi,
I’ve noticed that date field in footer or header is not updated correctly after saving document in PDF.
Fields outside the footer/header work fine.
I’ve tried call method updateFields(), but it didn’t help.
I’m attaching sample document for testing.

Thanks in advance for help.

Hello
Thanks for your request. I cannot reproduce the problem on my side using the latest version of Aspose.Words 10.3.0. Please try using the latest version of Aspose.Words and let me know how it goes on your side.
You can download the latest version from here:
https://releases.aspose.com/words/java
Here is my code:

Document doc = new Document("C:\\Temp\\data.doc");
doc.updateFields();
doc.save("C:\\Temp\\out.pdf");

Best regards,

Hi,
you’re right. With the latest version it works great.
Thanks for help