|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39965 Latitude and longitude are backwards in date-sun-info
Submitted: 2006-12-27 19:57 UTC Modified: 2007-04-13 08:34 UTC
From: jim at federated dot com Assigned: derick
Status: Closed Package: Date/time related
PHP Version: 5.2.0 OS: all
Private report: No CVE-ID:
 [2006-12-27 19:57 UTC] jim at federated dot com
The latititude and longitude are backwards in date_sun_info().

Reproduce code:
Look at the calls to timelib_astro_rise_set_altitude() in ext/date/php_date.c. 4 of the 5 calls have the arguments backwards.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-13 08:34 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Fri Nov 27 13:01:31 2015 UTC