MDL-35770 Moved format_weeks_get_section_dates() to format_weeks::get_section_dates()