correct detection of month for ipad