Date Format incorect when saving as HTML



When I save a vsdx file as HTML, the shapes that contains a Date are not rendered as in the input file.
In the “Shape_With_Date.vsdx” the shape as a Date in French Format (DD/MM/YYYY)

When generated with Visio, HTML is correct, but with Aspose Diagram the output is M/D/YYYY
You can see in “differences.png”
The contains all the elements (25.3 KB)




We were able to replicate the issue in our environment. We have used Aspose.Diagram for .NET 19.7 and following code snippet for testing purposes:

// Load a VSD diagram, need to incorporate page parameter
Aspose.Diagram.Diagram theDiagram = new Aspose.Diagram.Diagram(dataDir + "Shape_With_Date.vsdx");
Aspose.Diagram.Saving.HTMLSaveOptions options = new Diagram.Saving.HTMLSaveOptions();
theDiagram.Save(dataDir + "Example_out.html", Aspose.Diagram.SaveFileFormat.HTML);

This issue has been logged as DIAGRAMNET-51678 in our issue tracking system for the sake of correction. We will further look into details of it and keep you posted with its rectification status. Please spare us little time.

We are sorry for the inconvenience.