Fixed issue #8226: Error when using mask mm/yy in date question

Dev: error appeared while entering a date in a date time question
Dev: with settings "dropdown boxes yes" and a date mask without
Dev: day (eg. YY/MM)