Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Week number in DateChooser not always correct

$
0
0
I'm creating a DateChooser with the following property:

Code:

        // definition
        private class MyDateChooser extends DateChooser {
                public MyDateChooser() {
                        setAttribute("autoClose", true, true);
                }
        }

        // call
        chooser = new MyDateChooser();
        chooser.setFirstDayOfWeek(1);
        chooser.setShowCancelButton(Boolean.TRUE);
        chooser.setShowWeekChooser(Boolean.TRUE);
        chooser.setShowTimeItem(Boolean.TRUE);

I noticed an issue when picking a week number:
1. Set the date to 30 jan. 2014. This is week 5.
2. Use the week number picker in the upper left of the DateChooser to pick week 8.

The result is that the month shown is now February, but week 5 is still highlighted.

This is for v9.0p_2013-10-27/Pro Deployment (built 2013-10-27)

Thanks for looking into this.

Viewing all articles
Browse latest Browse all 4756

Trending Articles