#43590 [Asn->Fbk]: Sunset and sunrise return incorrect results
ID: 43590
Updated by: jani@php.net
Reported By: meteomobile at aviador dot es
-Status: Assigned
+Status: Feedback
Bug Type: Date/time related
Operating System: Windows
PHP Version: 5.2.5
Assigned To: derick
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
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
Thread (6 messages)