[main] fixed: passed array of dates istend of single date.