support typing in dates