MDL-65262 core_calendar: change location param type