<?php
-if (empty($Args)) {
+if (empty($Page->place[0])) {
return;
}
-@list ($target, $interval) = explode('+', ltrim($Args, '/'));
+@list ($target, $interval) = explode('+', $Page->place[0]);
$target = new DateTime($target);
$now = new DateTime('NOW');
$next = $target->diff($now); # age