Bug #12589 Updated: juliantojd () returns incorrect JD
| From: | kovi at hms dot hu | Date: | Mon, 06 Aug 2001 11:28:07 +0000 |
| Subject: | Bug #12589 Updated: juliantojd () returns incorrect JD | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62226@lists.php.net to get a copy of this message | ||
ID: 12589
User updated by: kovi@hms.hu
Reported By: kovi@hms.hu
Old Status: Open
Status: Duplicate
Bug Type: Calendar related
Operating System: Win2K
PHP Version: 4.0.5
New Comment:
I was confused with the julian and gregorian calendars...
Previous Comments:
------------------------------------------------------------------------
[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