Time on Internet Explorer

jerhome64 03 Oct, 2012
hi,

i use the date field to select time.
All is ok with firefox but with IE8 i always see the current time and not the good value.
with Firefox i got :
[attachment=1]with_firefox.PNG[/attachment]

with IE i got :
[attachment=0]with_ie.PNG[/attachment]

could y ou help me ?
sincerely
GreyHead 03 Oct, 2012
Hi jerhome64,

Are you using the MooTools DatePicker? If not, try switching over please?

Bob
jerhome64 03 Oct, 2012
Hi,

I tried with mootool, it don't work on firefox to now.
when i refresh the page, i see the good data appear and is erased with the current time
GreyHead 03 Oct, 2012
Hi jerhome64,

Please post a link to the form so I can take a quick look.

Bob
jerhome64 04 Oct, 2012
Hi,

Yes if you want, but i need to give it on a private way, there is a login/password and it s on a running project.

sincerely
Jerome
jerhome64 04 Oct, 2012
Hi,

I've done a copy of the form (with the same probleme).
you can reach it following : http://infrasrv.fr.myatos.net

then clic on "Page test" on the right under login / password .

Sincerely
Jerome
GreyHead 04 Oct, 2012
Hi jerhome64,

I can see the error in IE8 (IE9, FireFox and Chrome seem OK) but you are still loading the older MonkeyPhysics Datepicker, I still think this may be the problem.

Bob
jerhome64 04 Oct, 2012
Hi,

i've changed to mootool datepicker.

Now it's wrong with firefox.

here is the time_picker configuration
[attachment=0]timepicker.PNG[/attachment]
GreyHead 08 Oct, 2012
Hi jerhome64,

After a lot of digging in the DatePicker code I think I have found the problem. The Date that is loaded is in H:i format e.g. 08:30 but the corresponding format string is H:i:s - when the DatePicker tries to parse the date it's expecting the seconds e.g. 08:30:44 and when it doesn't find them it throws a silent error and the current time is used instead.

If you set the Time-picker format to H:i hopefully the DatePicker will be happy again.

Bob
jerhome64 10 Oct, 2012
Hello,

thanks for your time.


i have choosen "Mootools Datepicker" in the general form and one "custom mootool datepicker" for date and one other for the time.
It seems to be ok, but now i got the picker two times (one coming with general settings, the other with the specific settings).
how can i disable the general picker ?

jerome
GreyHead 10 Oct, 2012
Hi jerome,

You need to make sure that there are distinct classes set for each type of datepicker both in the datepicker element and in the Custom DatePicker action.

Please post a link to the form so I can take a quick look.

Bob
jerhome64 12 Oct, 2012
Hi,

the link is the same (see in the post)
to help you to understand what i've done, here are some screen copies:

[attachment=0]general config.PNG[/attachment]

for the date fiels :
[attachment=1]date field.PNG[/attachment]
[attachment=2]date event.PNG[/attachment]

i've done the same thing for time with time_only (but i can't upoload screen copies)

Sincerely
jerome
GreyHead 12 Oct, 2012
Hi jerhome,

I'm not clear what is happening here. I'll try to find some time to dig into the code again.

Bob
jerhome64 25 Oct, 2012
Hello,
did you find some time ?
Sincerely
Jerome
This topic is locked and no more replies can be posted.