Make hyphens mandatory in date string