php.net |  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
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-04-13 08:34 UTC] derick@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Mon Apr 21 04:01:57 2014 UTC