Date Format incorect when saving as HTML

Hi,

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 zipfiles.zip contains all the elements

differences.zip (25.3 KB)

Thanks,

@julien.mevel.isilog

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.

Hello,

In 22.11, when converting this document to HTML the date format changes, “01/08/2019” => “8/1/2019”

Can you look why?

Cordially

element.zip (28.4 KB)

@ISIWARE

A separate ticket as DIAGRAMNET-53047 has been logged in our issue tracking system for the sake of further investigation against you file. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-53047) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou