Enable format option in date type