#43590 [Fbk->Asn]: Sunset and sunrise return incorrect results

From: Date: Tue, 29 Jan 2008 07:27:32 +0000
Subject: #43590 [Fbk->Asn]: Sunset and sunrise return incorrect results
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-121701@lists.php.net to get a copy of this message
ID: 43590 Updated by: derick@php.net Reported By: meteomobile at aviador dot es -Status: Feedback +Status: Assigned Bug Type: Date/time related Operating System: Windows PHP Version: 5.2.5 -Assigned To: +Assigned To: derick Previous Comments: ------------------------------------------------------------------------ [2008-01-29 00:24:05] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.3-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.3-win32-installer-latest.msi ------------------------------------------------------------------------ [2007-12-13 19:48:46] meteomobile at aviador dot es Description: ------------ Sunrise and sunset functions in PHP 5 return results that differ from those officialy posted by 30 minuts aproximately in Barcelona Sunrise returned value is approximately 30 minutes different to official numbers and sunset is also 30 minutes different (but the other way around) Check good results at http://aviador.es/checkfile.php?camp=LELL There is info there about coordinates so you can check PHP 5 results can be obtained at http://aviador.es/rss/lell.xml for the same coordinates. Civil sunrise and sunset should equal the first figures, but don't. Thanks for any clues, MeteoMobile Expected result: ---------------- http://aviador.es/checkfile.php?camp=LELL Actual result: -------------- http://aviador.es/rss/lell.xml (see civilian figures) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43590&edit=1

« previous php.bugs (#121701) next »