[Phphtmllib-devel] SF.net SVN: phphtmllib:[3485] trunk/open2300/lib/modules/api/ AviationWeather.in
Status: Beta
Brought to you by:
hemna
|
From: <he...@us...> - 2010-06-17 03:24:56
|
Revision: 3485
http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3485&view=rev
Author: hemna
Date: 2010-06-17 03:24:50 +0000 (Thu, 17 Jun 2010)
Log Message:
-----------
get gmt offset
Modified Paths:
--------------
trunk/open2300/lib/modules/api/AviationWeather.inc
Modified: trunk/open2300/lib/modules/api/AviationWeather.inc
===================================================================
--- trunk/open2300/lib/modules/api/AviationWeather.inc 2010-06-17 03:23:30 UTC (rev 3484)
+++ trunk/open2300/lib/modules/api/AviationWeather.inc 2010-06-17 03:24:50 UTC (rev 3485)
@@ -587,7 +587,8 @@
$info = array("Name" => $json->Airport->Name,
"GeonameID" => $json->Airport->GeonameID,
"Timezone" => $json->Airport->Timezone,
- "Latitude" => $json->Airport->Latitude,
+ "TimezoneOffset" => get_timezone_offset($info->Timezone, "GMT"),
+ "Latitude" => $json->Airport->Latitude,
"Longitude" => $json->Airport->Longitude);
return $info;
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|