-
aih1013 committed revision 29 to the Date controls for Eclipse SWT SVN repository, changing 2 files.
2007-01-19 19:02:13 UTC by aih1013
-
aih1013 committed revision 28 to the Date controls for Eclipse SWT SVN repository, changing 7 files.
2007-01-19 19:01:13 UTC by aih1013
-
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
2006-12-06 03:20:06 UTC by sf-robot
-
Following on from previous comment, I think my fix is therefore not valid, as it will change week numbering in the Calendar instance returned? Instead, onMouseDown needs a more sophisticated algorithm for determing week number in month.
2006-12-04 21:54:08 UTC by nobody
-
Further investigation reveals java.util.Calendar.getMinimalDaysInFirstWeek() can return a different value for each locale. It's 4 for en-UK. But it's 1 for en-US, so the bug would not have shown itself if testing under English (American).
2006-12-04 21:41:12 UTC by nobody
-
DateSelector assumes that java.util.Calendar always numbers the first week in a month as one, but it appears that, by default, Calendar will number it zero if it contains less than 4 days. For such months, a week is erroneously added to the date actually clicked on.
To fix:
private void onMouseDown(Event event) {
if (event.button != 1) {
return;
}
forceFocus();
Calendar...
2006-12-04 03:11:55 UTC by nobody
-
Yes, it is obvious. I think we can put additional year-offset buttons onto the control.
2006-11-21 10:45:54 UTC by aih1013
-
Right now, the datepicker can only scroll by month.
How hard would it be to add the yearly scrolling? It
really is a necessary feature for any viable datepicker
control, don't you think?.
2006-11-13 22:51:07 UTC by czerwonka
-
Logged In: YES
user_id=182888
There's a bug in the patch... there should not be a "break"
at the end paintControl method.
2006-11-11 18:54:41 UTC by czerwonka
-
Logged In: YES
user_id=891422
Thank you for your participation. We will integrate you
patch ASAP.
2006-11-11 17:43:32 UTC by aih1013