[Phpslash-commit] CVS: phpslash-ft/class tz_env.class,1.1,1.2
Brought to you by:
joestewart,
nhruby
From: Matthew L. <sym...@us...> - 2003-02-11 14:03:05
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory sc8-pr-cvs1:/tmp/cvs-serv16803 Modified Files: tz_env.class Log Message: tz_env::strftime($format,$time) now defaults to current time in the second variable Index: tz_env.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/tz_env.class,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tz_env.class 3 Sep 2002 15:06:08 -0000 1.1 --- tz_env.class 11 Feb 2003 14:03:02 -0000 1.2 *************** *** 89,93 **** */ function strftime($fmt,$t=false) { ! return $this->generic('strftime',$fmt,$t); } --- 89,96 ---- */ function strftime($fmt,$t=false) { ! if ($t === false) { ! $t = time(); ! } ! return $this->generic('strftime',$fmt,$t); } |