Update DateExtension.php

Add undeclared variable.