We recently upgraded (Aspose Words for Java) from version 21.10 to version 22.12 and noticed that when executing the getDateTime().getTime()
method on the Revision instance, a different value is obtained (method getTime() returns a long data type that represents the time value in ms, counting from 1.1.1970).
Specifically, for each revision in the document, with version 21.10 we got the value 1616515560000, while version 22.12 returns us the value 1616511960000.
I don’t know if this is the expected behavior or if it’s a bug, but we need to get the value we were getting before (1616515560000), so please fix it or let us know how to get it come.
In the attachment, I am sending an example of the code that you can use to reproduce the above and the file on which the same should be executed.
PS
If it matters, we’ve noticed that the behavior change has been occurring since version 22.6 and is also present in 23.1.
Thanks!
Nenad
report.zip (10.4 KB)