Fixed error in Date.php -  on static class