Skip to content

Fix autocorrect for multiple months separated with commas

David Faure requested to merge work/dfaure/autocorrect_case_3 into master

The added testcase used to become Apr,May,Oct,Nov, Dec: Mo-Su, 10:00-19:00; Jun-Sep: Mo-Su 10:00-20:00 with an erroneous space before "Dec".

I don't claim full understanding of the autocorrect() code, this is just the result of reverse-engineering which part of the condition was wrong, removing it, and noticing that other tests still pass :)

Merge request reports