..F....... [ZBX-8339] typo fixes; control flow fixes; strtotime usage