format_months function

Format any month name to three letter code