Re: S2: datetimepicker and multiple date formats

2007-06-13 Thread Musachy Barroso
In 2.1 the date value will always be on RFC 3339 format which is -MM-dd'T'HH:mm:ss musachy On 6/13/07, Scott Nesbitt <[EMAIL PROTECTED]> wrote: Ok, you convinced me to stick to one date format: MM/dd/yy. However, even though my JSP looks like this: It is still showing 01/21/2007

Re: S2: datetimepicker and multiple date formats

2007-06-13 Thread Scott Nesbitt
Ok, you convinced me to stick to one date format: MM/dd/yy. However, even though my JSP looks like this: It is still showing 01/21/2007. Interestingly, it allows 01/22/07 as input, but changes it to 01/22/2007 on blur. Any suggestions? Does the datetimepicker force a four-digit

Re: S2: datetimepicker and multiple date formats

2007-06-12 Thread Nicolás Pace
On 6/12/07, Scott Nesbitt <[EMAIL PROTECTED]> wrote: I have this code: It works fine if the user uses the drop-down or types in a date in just the right format. However, we would like the following to work better: user input actual value desired value --

Re: S2: datetimepicker and multiple date formats

2007-06-12 Thread Musachy Barroso
Nope. I'm not so sure that's a good idea as you wouldn't have any way to parse that date on the server (without knowing the right format). Warning! bad advise ahead: You can always do something crazy like: dojo.widget.byId("dp").setValue = function(dateObj) { }; and then do your thing there, or

S2: datetimepicker and multiple date formats

2007-06-12 Thread Scott Nesbitt
I have this code: It works fine if the user uses the drop-down or types in a date in just the right format. However, we would like the following to work better: user input actual value desired value -- - 06-12-07 NaN-NaN