cvs: pear /Date Date.php

From: Date: Fri, 12 Mar 2004 11:31:56 +0000
Subject: cvs: pear /Date Date.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-17326@lists.php.net to get a copy of this message
pajoye Fri Mar 12 06:31:56 2004 EDT Modified files: /pear/Date Date.php Log: - be consistent with the doc, returns a int (#969) http://cvs.php.net/diff.php/pear/Date/Date.php?r1=1.24&r2=1.25&ty=u Index: pear/Date/Date.php diff -u pear/Date/Date.php:1.24 pear/Date/Date.php:1.25 --- pear/Date/Date.php:1.24 Thu Mar 11 16:24:16 2004 +++ pear/Date/Date.php Fri Mar 12 06:31:53 2004 @@ -17,7 +17,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Date.php,v 1.24 2004/03/11 21:24:16 pajoye Exp $ +// $Id: Date.php,v 1.25 2004/03/12 11:31:53 pajoye Exp $ /**@#+ * Include supporting classes @@ -1051,7 +1051,7 @@ */ function getDay() { - return $this->day; + return (int)$this->day; } /**

« previous php.pear.cvs (#17326) next »