cvs: pear /Services_Weather/Weather Weatherdotcom.php

From: Date: Mon, 06 Oct 2003 14:00:59 +0000
Subject: cvs: pear /Services_Weather/Weather Weatherdotcom.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-13422@lists.php.net to get a copy of this message
eru Mon Oct 6 10:00:59 2003 EDT Modified files: /pear/Services_Weather/Weather Weatherdotcom.php Log: *Added humidity and dewpoint calculation Index: pear/Services_Weather/Weather/Weatherdotcom.php diff -u pear/Services_Weather/Weather/Weatherdotcom.php:1.8 pear/Services_Weather/Weather/Weatherdotcom.php:1.9 --- pear/Services_Weather/Weather/Weatherdotcom.php:1.8 Sun Oct 5 13:46:24 2003 +++ pear/Services_Weather/Weather/Weatherdotcom.php Mon Oct 6 10:00:59 2003 @@ -16,7 +16,7 @@ // | Authors: Alexander Wirtz <alex@pc4p.net> | // +----------------------------------------------------------------------+ // -// $Id: Weatherdotcom.php,v 1.8 2003/10/05 17:46:24 eru Exp $ +// $Id: Weatherdotcom.php,v 1.9 2003/10/06 14:00:59 eru Exp $ require_once "Services/Weather/Common.php"; @@ -385,6 +385,7 @@ $weatherReturn["windDegrees"] = $this->_weather->wind->d; $weatherReturn["windDirection"] = $this->_weather->wind->t; $weatherReturn["humidity"] = $this->_weather->hmid; + $weatherReturn["dewPoint"] = $this->calculateDewPoint($this->_weather->tmp, $this->_weather->hmid); $weatherReturn["visibility"] = $this->_weather->vis; $weatherReturn["uvIndex"] = $this->_weather->uv->i; $weatherReturn["uvText"] = $this->_weather->uv->t;

« previous php.pear.cvs (#13422) next »