make sure date is there
authorAlan <alan@roojs.com>
Tue, 3 May 2022 05:47:22 +0000 (13:47 +0800)
committerAlan <alan@roojs.com>
Tue, 3 May 2022 05:47:22 +0000 (13:47 +0800)
Date/Calc.php

index 3aef7fc..e017546 100644 (file)
@@ -472,6 +472,7 @@ class Date_Calc
      */\r
     static function dateNow($format = DATE_CALC_FORMAT)\r
     {\r
+        require_once 'Date.php';\r
         $d = new Date(time());\r
         return $d->format($format);\r
     }\r