get the localized month name according to a given format

  • Parameters

    • value: Date
    • locale: Locale
    • Optionalmonth:
          | "long"
          | "short"
          | "narrow"
          | "numeric"
          | "2-digit"

    Returns string