[Phphtmllib-devel] SF.net SVN: phphtmllib:[3174] trunk/open2300/lib/modules/home/widgets/ MetarText
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2008-11-07 04:45:44
|
Revision: 3174 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3174&view=rev Author: hemna Date: 2008-11-07 04:45:42 +0000 (Fri, 07 Nov 2008) Log Message: ----------- gah Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:43:42 UTC (rev 3173) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 04:45:42 UTC (rev 3174) @@ -42,11 +42,11 @@ $stmt = $db->queryBindOneRowCache("Select min(temp_out) as low, max(temp_out) as high from weather where datetime like :date", array(":date" => $today.'%')); - if (class_exists("DateTime")) { - $cur_date = new DateTime($this->wx->get_datetime()); - //$metar .= "<br>".$cur_date->format("dHi")."<br>"; - $cur_date->setTimezone(new DateTimeZone("UTC")); - $metar .= " ".$cur_date->format("dHi")."Z AUTO "; + //if (class_exists("DateTime")) { + if (FALSE) { + $cur_date = new DateTime($this->wx->get_datetime()); + $cur_date->setTimezone(new DateTimeZone("UTC")); + $metar .= " ".$cur_date->format("dHi")."Z AUTO "; } else { $metar .= "NODATE AUTO"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |