|  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 (profile)
Status: Closed Package: Date/time related
PHP Version: 5.2.0 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jim at federated dot com
New email:
PHP Version: OS:


 [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.

 [2018-02-11 13:58 UTC]
Automatic comment from SVN on behalf of cmb
Log: Add changelog entry regarding bug #39965

This integrates user note 111399.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Apr 23 05:01:23 2021 UTC