# Bug in datebox

937 2 12

When I try to select 12 Oct 2008 in the datebox, it appear 11 Oct 2008.
An strange thing is that this happens when I'm accesing from Windows XP SP3 machine. When I access with my Ubuntu Hardy, it works nice.

I tested with FF3, IE7 and GC, inside Windows XP, the bug happens.
Then I tested with FF3 and Opera inside ubuntu hardy, and it works.

To see the bug in a funny way access zkdemo inside an windows XP box, select Oct 12 2007, and then go clicking in the right arrow to change the year.
while the years increase, the day selected decreases.

delete retag edit

## 7 Replies

937 2 12

the tests were made in zkdemo,

and I tested setting the language in FF and GC to en_US, and then pt_BR
and as I said, in ubuntu works, in window don't.

flyworld
155 3

It is so strange :S
I have tried the datebox Firefox 2&3, IE 7, Opera, Safari, GC on SP3, in works fine.
And I trien Opera, Firefox 3 on Ubuntu Intrepid 8.10 it works fine, too.
Which version of ZK you use ?

937 2 12

hey flyworld,

I made the tests in www.zkoss.org/zkdemo/userguide today

In the 3.0.7-8 that I have in my pc works fine.

I have Ubuntu 8.06 in my pc (en US), and it works. Then I have an SP3 in my note (pt BR), and don't work.
Also I've installed SP2 (en US)in my virtualbox, and also don't work.

Very strange... and I tried to debug the java source in ZK, but I saw that most of the code was moved to JS now.

I have basic knowledge of JS (that's why ZK rocks), but I'll try to take a look in the js.

937 2 12

Today I made some more tests in zkoss.org/zkdemo/userguide
The test is open zkdemo, put the code

<calendar/>

select October, then clicking from day 1 to day 31 and see if all are correctly selected.

In my Ubuntu, trying with FF3 and Opera9, I can select 12 Oct 2008, however, I can't select 19 Oct 2008. When I click in the day 19 (in calendar) it appear selected day 18.

In another Windows XP SP2 testing in GC, FF3 and IE7 it all worked.

In My XP SP2 inside virtual box, testing in GC, FF3, IE7 when i select day 12, day 11 appear selected.

In an Xubuntu machine, the day 19 can't be selected, selects 18 instead.

And in a windows SP3 inside virtualbox in the same Xubuntu, it all worked fine.

I'm probably going nuts now..

Anyone can reproduce this behavior???

thanks,

flyworld
155 3

i can't reproduce your problems either...
it all works fine for me
anyone have same problem ??

rafaelmartins
1

Having the same problem using verion 6.5.1.1

I checked and the problem is in the zk demo.

Anyone solved this problem?

Darksu
1991 1 4

The invalid date of the datebox appears before or after you select the date?

Best Regards,

Darksu

[hide preview]