[e-ark-cvs] e-ark/src date_inc.php,1.6,1.7
Brought to you by:
vboctor
|
From: Victor B. <vb...@us...> - 2008-08-09 13:02:39
|
Update of /cvsroot/e-ark/e-ark/src In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv29824 Modified Files: date_inc.php Log Message: Reverted date to use ??? for nulls rather than 000. Index: date_inc.php =================================================================== RCS file: /cvsroot/e-ark/e-ark/src/date_inc.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** date_inc.php 3 Aug 2008 10:43:39 -0000 1.6 --- date_inc.php 9 Aug 2008 13:02:34 -0000 1.7 *************** *** 227,231 **** { if ( $this->_day === null ) ! return '00'; return sprintf( '%02d', $this->_day ); --- 227,231 ---- { if ( $this->_day === null ) ! return '??'; return sprintf( '%02d', $this->_day ); *************** *** 235,239 **** { if ( $this->_month === null ) ! return '00'; return sprintf( '%02d', $this->_month ); --- 235,239 ---- { if ( $this->_month === null ) ! return '??'; return sprintf( '%02d', $this->_month ); *************** *** 243,247 **** { if ( $this->_month === null || $this->_month == 0 ) ! return '000'; $months = array( 'JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', --- 243,247 ---- { if ( $this->_month === null || $this->_month == 0 ) ! return '???'; $months = array( 'JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', *************** *** 254,258 **** { if ( $this->_year === null ) ! return '0000'; return sprintf( '%04d', $this->_year ); --- 254,258 ---- { if ( $this->_year === null ) ! return '????'; return sprintf( '%04d', $this->_year ); |