|  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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 22 19:01:29 2024 UTC