X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FDateAndTime.class.php;h=d960f008e735689c0163ec9b6898f5ff1d8cfb4d;hb=5532fe6cfc2125063ff8040cfa80e20089ac64b0;hp=f4e18becb540aee051c74dfc5c269279a31030ba;hpb=774e4b2ef212fffb73c0130b05f205319858c61a;p=timetracker.git diff --git a/WEB-INF/lib/DateAndTime.class.php b/WEB-INF/lib/DateAndTime.class.php index f4e18bec..d960f008 100644 --- a/WEB-INF/lib/DateAndTime.class.php +++ b/WEB-INF/lib/DateAndTime.class.php @@ -197,7 +197,7 @@ class DateAndTime { * @param String $strfDateTime * @return DateAndTime */ - function DateAndTime($format="",$strfDateTime="") { + function __construct($format="",$strfDateTime="") { $this->mLocalFormat = ($format ? $format : $this->mIntrFormat); $d = ($strfDateTime ? $strfDateTime : $this->do_strftime($this->mLocalFormat)); $this->parseVal($d);