Timeline and Milestone Helps Date format

I was looking at the various number values for date formatting in the Timeline and Milestone Helper accessors. I noticed that there was not any value for the MM/dd/yyyy format, which is used quite often here in the US. Is there one currently that is not listed in the comments? If not, do you plan to include this format in the near future? Also, do you plan to include custom formatting by using a string as a setter, such as “MM/dd/yyyy” or that could use regular expressions?

Thanks,
~Sonny

Hi Sunny,


Thank you for contacting support. Please note, Aspose.Diagram API mimics the behavior of Microsoft Office Visio. There are 30 available date formats, those we can set using Aspose.Diagram APIs. Furthermore, we can notice that the default date format is “9/18/2014”, but there is no value for this string format. For the sake of correction, we have logged these issues as follows:

DIAGRAMNET-50408 - Default date format is not available for Milestone shape
DIAGRAMNET-50409 - Default date format is not available for Timeline shape

Your post has also been linked to these issues. We’ll keep you informed regarding any available updates. Please feel free to reply us in case of any confusion or questions.

Hi Sonny,

Thank you for being patient. We have a good news for you that the issue id DIAGRAMNET-50408 and DIAGRAMNET-50409 have now been resolved. If there is no issue in the QA phase, then their fixes will be included in the next version of Aspose.Diagram for .NET 5.2.0. We'll inform you via this forum thread as soon as the new release is published.

So, to verify, this update will allow dd/MM/yyyy format, not just the default d/MM/yyyy. The requirements for our current project is for the single digit days and months to be prefixed with a zero. For example, 02/06/2015 rather than 2/6/2015.

Also will the this release include string formatting? So, for instance, instead of setting it like this: MilestoneHelper.DateFormat = 17, you would be able to set it like this: MilestoneHelper.DateFormat = “yyy-M-d”?

Hi Sonny,

Thank you for asking about the verification.
SonnyTate:
So, to verify, this update will allow dd/MM/yyyy format, not just the default d/MM/yyyy. The requirements for our current project is for the single digit days and months to be prefixed with a zero. For example, 02/06/2015 rather than 2/6/2015.
We have asked from the product team to confirm it. We logged it for the fix of default date format values. However, let me check the response of our product team. We're coordinating with them and will get back to you soon.
SonnyTate:
So, for instance, instead of setting it like this: MilestoneHelper.DateFormat = 17, you would be able to set it like this: MilestoneHelper.DateFormat = "yyy-M-d"?
We have logged separate feature requests for the date string setters as follows:
DIAGRAMNET-50410 - MilestoneHelper - Add support of custom date string format setter
DIAGRAMNET-50411 - TimelineHelper - Add support of custom date string format setter

Your post has also been linked to these feature requests. We'll keep you posted regarding any available updates.

The issues you have found earlier (filed as DIAGRAMNET-50408;DIAGRAMNET-50409) have been fixed in Aspose.Diagram for .NET 5.2.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The string date format works well. Thanks!

Hi Sonny,


Thank you for updating us. It is nice to hear from you that it works perfect on your side. Please feel free to reply us if you have any other query regarding Aspose APIs, we will be happy to help you.

Hi Sonny,

Thank you for being patient. We have a good news for you that the issue id DIAGRAMNET-50411 has now been resolved. If there is no issue in the QA phase, then this fix will be included in the next version of Aspose.Diagram for .NET 5.7.0. We'll inform you via this forum thread as soon as the new release is published.

The issues you have found earlier (filed as DIAGRAMNET-50411) have been fixed in Aspose.Diagram for .NET 5.7.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as DIAGRAMNET-50410) have been fixed in Aspose.Diagram for .NET 18.11.