several changes to support datetime-find rooms