private function getDateFromOpenGraph()
{
$dt = null;
$og_data = $this->article()->getOpenGraph();
try {
if (isset($og_data['published_time'])) {
$dt = new \DateTime($og_data['published_time']);
}
if (is_null($dt) && isset($og_data['pubdate'])) {
$dt = new \DateTime($og_data['pubdate']);
}
} catch (\Exception $e) {
// Do nothing here in case the node has unrecognizable date information.
}
return $dt;
}