DateFormat %m/%d/%Y error on dblcalendar picker

Hi,

I found that this DblCalendar is great, I really like to use it, except 1 thing.

When I change the date format to mm/dd/yyyy, and the date picker focus on the wrong date and month.

Example :

For the left calendar 4/1/2008 it should focus on 1st April 2008, but it focus on 1st May 2008

For the right on 4/24/2008 it should focus on 24th April 2008, but it focus on 1st May 2008

And many other month, 2nd month will be focus on March.



Is there any new js file for this bugs?



Thanks for your assistant.

Please check attached sample it uses calendar with same date format and same dates - all works correctly.
If problem still occurs for you - please try to use dhtmlxcalendar.js from attached sample instead of original one.

1209042658.zip (21.1 KB)


Thanks for your quick reply.



And thanks for the files, it works fiine with %m/%d/%Y but still not working with %c/%e/%Y



Please help.



Thanks,

Problem confirmed and fixed, please use attached js file instead of original one.

dhtmlxcalendar.zip (11.8 KB)


Wow, its work well now. Thanks for your best asistance.