Trying to achieve this for the value of a Ext.field.Datepicker:
The output code becomes:Code:{
year: new Date().getFullYear(),
month: (new Date().getMonth() + 1),
day: new Date().getDate()
}
I guess it shouldn't be trimming whitespace as minification of the application will sort that out anywayCode:{
year:newDate().getFullYear(),
month:(newDate().getMonth()+1),
day:newDate().getDate()
}
