Community
Participate
Working Groups
Build Identifier: M20110210-1200 Say DateTime widget date is set to May 31 2011. We now call SWTBotDateTime.setDate(date) where date is Sep 28 2010, the dateTime widget will display May 28 2010 instead (month change is ignored because Sep 31 2011 is not a valid date). SWTBotDateTime should use widget.setDate(toSet.getYear() + 1900, toSet.getMonth(), toSet.getDate()); instead of widget.setYear(toSet.getYear() + 1900); widget.setMonth(toSet.getMonth()); widget.setDay(toSet.getDate()); Reproducible: Always
pushed fix and test. http://git.eclipse.org/c/swtbot/org.eclipse.swtbot.git/commit/?id=9b2c99f1ff3b7bd3db6c5b3f25632acb3385d5ef