#39965 [Asn->Csd]: Latitude and longitude are backwards in date-sun-info
ID: 39965
Updated by: derick@php.net
Reported By: jim at federated dot com
-Status: Assigned
+Status: Closed
Bug Type: Date/time related
Operating System: all
PHP Version: 5.2.0
Assigned To: derick
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2006-12-27 19:57:41] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39965&edit=1
Thread (3 messages)