correctly handle month names