-
27 Nov 2008 8:58 AM #11
can't picture why one would enter dates that way, but here's an override for you to try anyway:
Code:Date.parseCodes.W = { g:1, c:[ "y = (new Date()).getFullYear();", "m = new Date(y, 0, 1).add(Date.DAY, (parseInt(results[{0}], 10) - 1) * 7);", "d = m.getDate();", "m = m.getMonth();" ].join('\n'), s:"(\\d{2})" // ISO-8601 week number (with leading zero) };
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
-
27 Nov 2008 9:04 AM #12
That's pretty kind of you, mystix - thank you much for your help!
-
27 Nov 2008 9:07 AM #13
while you're at it i'd appreciate it if you could help to attempt to break this override:
http://extjs.com/forum/showthread.ph...223#post253223
thanks
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
-
27 Nov 2008 9:25 AM #14


Reply With Quote