Update TimeExtension.php