- Upgraded PCRE to version 7.6 (Nuno)
+- Fixed bug #44216 (strftime segfaults on large negative value). (Derick)
- Fixed bug #44209 (strtotime() doesn't support 64 bit timestamps on 64 bit
platforms). (Derick)
- Fixed bug #44197 (socket array keys lost on socket_select). (Felipe)
{
timelib_sll c1, y1, m1, dow;
- /* Only valid for Gregorian calendar */
+ /* Only valid for Gregorian calendar, commented out as we don't handle
+ * julian calendar. We just return the 'wrong' day of week to be
+ * consistent.
if (y < 1753) {
return -1;
- }
+ } */
c1 = century_value(y / 100);
y1 = (y % 100);
m1 = timelib_is_leap(y) ? m_table_leap[m] : m_table_common[m];