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


 [2018-02-11 13:58 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=344213
Log: Add changelog entry regarding bug #39965

This integrates user note 111399.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC