-
16 Nov 2012 2:42 AM #1
Object values trim white-space - causes problems for date objects
Object values trim white-space - causes problems for date objects
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() }


Reply With Quote