0

Bug in datebox

asked 2008-11-04 18:44:05 +0800

madruga0315 gravatar image madruga0315 flag of Brazil
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 flag offensive retag edit

7 Replies

Sort by ยป oldest newest

answered 2008-11-04 18:45:32 +0800

madruga0315 gravatar image madruga0315 flag of Brazil
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.

link publish delete flag offensive edit

answered 2008-11-05 00:50:01 +0800

flyworld gravatar image flyworld
155 3

updated 2008-11-05 01:02:20 +0800

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 ?

link publish delete flag offensive edit

answered 2008-11-05 01:15:43 +0800

madruga0315 gravatar image madruga0315 flag of Brazil
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.

/Madruga

link publish delete flag offensive edit

answered 2008-11-05 13:50:34 +0800

madruga0315 gravatar image madruga0315 flag of Brazil
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,
Madruga

link publish delete flag offensive edit

answered 2008-11-06 00:56:59 +0800

flyworld gravatar image flyworld
155 3

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

link publish delete flag offensive edit

answered 2014-07-17 15:53:23 +0800

rafaelmartins gravatar image rafaelmartins
1

updated 2014-07-17 16:10:21 +0800

Having the same problem using verion 6.5.1.1

I checked and the problem is in the zk demo.

Anyone solved this problem?

link publish delete flag offensive edit

answered 2014-07-18 08:51:06 +0800

Darksu gravatar image Darksu
1991 1 4

Hello madruga0315,

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

Best Regards,

Darksu

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-11-04 18:44:05 +0800

Seen: 233 times

Last updated: Jul 18 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More