september 5th gave 5 October
With 31 October as the reference date, september 5th gave 5 October and february 11 gave 11 March. Context.Time set the new month with the reference date's day, and time.Date rolled the non-existent 31 September over to 1 October before the parser applied the right day.
The day is clamped to the month's length
Before the month changes, the reference day is clamped to the target month's last day by a new daysIn helper. The bare text september now gives 30 September, and the TestExactMonthDateFromLongMonth test parses against 31 October.