[Phphtmllib-devel] SF.net SVN: phphtmllib:[3241] trunk/open2300/lib/modules/home/widgets/ CurrentCo
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2009-03-04 20:24:56
|
Revision: 3241 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3241&view=rev Author: hemna Date: 2009-03-04 20:24:49 +0000 (Wed, 04 Mar 2009) Log Message: ----------- reformat the peak wind time to not include the date...we only need the time as it's the peak wind for the current day anyway Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc 2009-03-04 03:42:44 UTC (rev 3240) +++ trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc 2009-03-04 20:24:49 UTC (rev 3241) @@ -64,7 +64,7 @@ $this->peak_wind['speed'] = $stmt->wind_speed; $this->peak_wind['angle'] = $stmt->wind_angle; $this->peak_wind['direction'] = $stmt->wind_direction; - $this->peak_wind['time'] = $stmt->datetime; + $this->peak_wind['time'] = substr($stmt->datetime,10); $log->debug("peak wind was ".$stmt->wind_speed); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |