1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/date/lib
Dmitri Iouchtchenko a6a7787cf2 Fix #61642: modify("+5 weekdays") returns Sunday
Adding a non-zero multiple of 5 weekdays to any Friday, Saturday, or
Sunday would result in a Sunday instead of the correct date. This patch
provides an implementation of do_adjust_special_weekday() which does
not suffer from this issue.
2012-08-05 19:22:36 -07:00
..
2008-04-25 12:35:58 +00:00
2006-09-13 17:47:20 +00:00
2010-12-12 16:06:41 +00:00

Regenerating Parser
===================

Make sure you use re2c 0.9.10 or higher:

re2c -d -b -o ext/date/lib/parse_date.c ext/date/lib/parse_date.re
re2c -d -b -o ext/date/lib/parse_iso_intervals.c ext/date/lib/parse_iso_intervals.re