fix image text
[pear] / Date.php
index 99e42c2..780c975 100644 (file)
--- a/Date.php
+++ b/Date.php
@@ -196,7 +196,7 @@ class Date
      * @param mixed $date optional - date/time to initialize\r
      * @return object Date the new Date object\r
      */\r
-    function Date($date = null)\r
+    function __construct($date = null)\r
     {\r
         $this->tz = Date_TimeZone::getDefault();\r
         if (is_null($date)) {\r