Fixed getDayOfWeek's Sunday-bug