renamed hrt_set_slot to calendar_set_slot