fix DateTime.getWeekDayNum() if desired day is the first day of a month