php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43590 Sunset and sunrise return incorrect results
Submitted: 2007-12-13 19:48 UTC Modified: 2008-11-19 01:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: meteomobile at aviador dot es Assigned: derick (profile)
Status: No Feedback Package: Date/time related
PHP Version: 5.2.5 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
8 + 9 = ?
Subscribe to this entry?

 
 [2007-12-13 19:48 UTC] 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)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-11 12:04 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2008-11-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 06:01:35 2024 UTC