projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5972513
)
make sure date is there
author
Alan
<alan@roojs.com>
Tue, 3 May 2022 05:47:22 +0000
(13:47 +0800)
committer
Alan
<alan@roojs.com>
Tue, 3 May 2022 05:47:22 +0000
(13:47 +0800)
Date/Calc.php
patch
|
blob
|
history
diff --git
a/Date/Calc.php
b/Date/Calc.php
index
3aef7fc
..
e017546
100644
(file)
--- a/
Date/Calc.php
+++ b/
Date/Calc.php
@@
-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