Fix copypaste typo

$extended should be $onTime