#43590 [Opn->Fbk]: Sunset and sunrise return incorrect results
| From: | tony2001@php.net | Date: | Tue, 29 Jan 2008 00:24:06 +0000 |
| Subject: | #43590 [Opn->Fbk]: Sunset and sunrise return incorrect results | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121678@lists.php.net to get a copy of this message | ||
ID: 43590
Updated by: tony2001@php.net
Reported By: meteomobile at aviador dot es
-Status: Open
+Status: Feedback
-Bug Type: *General Issues
+Bug Type: Date/time related
Operating System: Windows
PHP Version: 5.2.5
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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