I’m geting the value in dijit.Calendar in dojo v. 1.6
now it’s return
Mon Mar 19 2012 00:00:00 GMT+0700 (SE Asia Standard Time)
Can I changing the format to yyyy-MM-dd ?
I’m try to add
<div id="mainCalendar" dojotype="dijit.Calendar" constraints="{datePattern:'yyyy-MM-dd', strict:true}"></div>
but not worked.
Now I can found the way.
This code will return the data with new format
Add this code in the function, at
onChange eventcalled.Have a look to this @jsfiddle
Work at testing on dojo 1.6 and 1.7.2