Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-01-30 01:19:42 +0000
committerspingel2011-01-30 01:19:42 +0000
commit866ae0d3cba2b4427ca85d6a072759419d222b3d (patch)
tree836fa099f5ab83d8fcf6ed42f1cbf093dbedee57 /org.eclipse.mylyn.tasks.ui
parent0151edb25d629451a12e0d8f7b3e6c6eb902b316 (diff)
downloadorg.eclipse.mylyn.tasks-866ae0d3cba2b4427ca85d6a072759419d222b3d.tar.gz
org.eclipse.mylyn.tasks-866ae0d3cba2b4427ca85d6a072759419d222b3d.tar.xz
org.eclipse.mylyn.tasks-866ae0d3cba2b4427ca85d6a072759419d222b3d.zip
NEW - bug 335272: [patch] ScheduleTaskMenuContributor shows wrong days when week start is not Sunday
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335272
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java
index 1aa06cc45..7022d2ef8 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java
@@ -100,7 +100,7 @@ public class ScheduleTaskMenuContributor implements IDynamicSubMenuContributor {
for (int x = 0; x < toAdd; x++) {
int next = TasksUiPlugin.getTaskActivityManager().getWeekStartDay() + x;
if (next > Calendar.SATURDAY) {
- next = x;
+ next = next - Calendar.SATURDAY;
}
DateRange day = nextWeek.getDayOfWeek(next);
Action action = createDateSelectionAction(day, null);

Back to the top