Converts a month name to its corresponding number in the specified locale. Performs a case-insensitive comparison with both long and short month names.
The name of the month to convert (e.g., "January", "Jan", "janvier")
The locale to use for parsing (default: 'en-US')
The month number (1-12) or null if not found
// Returns 1fromMonth('January') Copy
// Returns 1fromMonth('January')
// Returns 1fromMonth('jan', 'fr-FR') Copy
// Returns 1fromMonth('jan', 'fr-FR')
// Returns 12fromMonth('Dez', 'de-DE') Copy
// Returns 12fromMonth('Dez', 'de-DE')
Converts a month name to its corresponding number in the specified locale. Performs a case-insensitive comparison with both long and short month names.