Skip to content

Commit

Permalink
Pages: fix reference to revision timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
MusikAnimal committed Jul 11, 2023
1 parent 4d1e203 commit 224db7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function getLastTimestamp(): ?string
}

$numResults = count($this->getResults()[$this->getNamespace()]);
$timestamp = new DateTime($this->getResults()[$this->getNamespace()][$numResults - 1]['rev_timestamp']);
$timestamp = new DateTime($this->getResults()[$this->getNamespace()][$numResults - 1]['timestamp']);
return $timestamp->format('Y-m-d\TH:i:s');
}

Expand Down

0 comments on commit 224db7d

Please sign in to comment.