A......... [ZBX-8428] Add period parameter with value of ZBX_HISTORY_PERIOD to call to CHistoryManager::getLast() in item.get API call. Explicitly attach last values (if present) to items used in macro resolver and clock screen item.