Bug #12589 Updated: juliantojd () returns incorrect JD
| From: | sniper@php.net | Date: | Mon, 06 Aug 2001 11:29:31 +0000 |
| Subject: | Bug #12589 Updated: juliantojd () returns incorrect JD | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62227@lists.php.net to get a copy of this message | ||
ID: 12589
Updated by: sniper
Reported By: kovi@hms.hu
Old Status: Duplicate
Status: Bogus
Bug Type: Calendar related
Operating System: Win2K
PHP Version: 4.0.5
New Comment:
user error. :)
Previous Comments:
------------------------------------------------------------------------
[2001-08-06 07:28:07] kovi@hms.hu
I was confused with the julian and gregorian calendars...
------------------------------------------------------------------------
[2001-08-06 07:22:48] kovi@hms.hu
juliantojd() returns incorrect Julian Days, i.e juliantojd (7,30,2001) returns 2452134 instead of
2452121.
See http://www.aavso.org/cdata/jdcalendar.stm
(But jddayofweek() works well with the proper JD!)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12589&edit=1