mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
f67ccd4a7b
Julian days < 347998 denote invalid Jewish calendar dates, so cal_from_jd($jd, CAL_JEWISH) and jdmonthname($jd, CAL_MONTH_JEWISH) should actually fail. For BC we don't yet let them though, but we fix the OOB read that happens in this case, and we also adjust cal_from_jd()'s return value to have empty strings for "abbrevdayname" and "dayname" instead of "Sun"/ "Sunday" and NULL for "dow" instead of 0, which doesn't make any sense. |
||
---|---|---|
.. | ||
tests | ||
cal_unix.c | ||
calendar.c | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
dow.c | ||
easter.c | ||
french.c | ||
gregor.c | ||
jewish.c | ||
julian.c | ||
package.xml | ||
php_calendar.h | ||
sdncal.h |