[Easy Gantt] Easy Gantt Forge Problem using Date with Date Format DD-MM-YYYY

[Easy Gantt] Easy Gantt Forge Problem using Date with Date Format DD-MM-YYYY

  
Forge Component
(3)
Published on 2015-06-26 by Guilherme Pereira
3 votes
Published on 2015-06-26 by Guilherme Pereira

Hi Dears,

I was using the Easy Gantt forge component with success when the dateformat of my environment was MM-DD-YYYY. When I changed the format to DD-MM-YYYY through Service Center, the component failed. It change month by day and get null date when the day is higher than 12. This problem also happens using the Easy Gantt Sample. Is there some recommendation to solve it?

Thanks,

Roberto

Hi Roberto,


The component is not prepared to deal with other date formats other tahn the default YYYY-MM-DD as you can see in the javascript.



In order to fix it you need to open the component and fix the date formats by hand. You can probably put that on a SiteProperty for easy configuration as well.


Cheers,

Guilherme

Hi Guilherme,

Thank you very much by your attention! I understood. My problem is that I am not a javascript programmer. But I will ask help to a qualified programmer. By the way, is the part to change in code within the part that you showed?

Best Regards,

Roberto

HI Roberto,


That's one of the places but you should analyze the code to see if there's more.


Cheers,

Guilherme