Stanislav Malyshev
a03a1ab88c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #67253 : timelib_meridian_with_check out-of-bounds read
Fix bug #67252 : convert_uudecode out-of-bounds read
Fix bug #67251 - date_parse_from_format out-of-bounds read
Fix bug #67250 (iptcparse out-of-bounds read)
Conflicts:
ext/date/lib/parse_date.c
ext/date/lib/parse_date.re
2014-05-13 17:02:09 -07:00
Stanislav Malyshev
dc92e81922
Merge branch 'bug67251' into PHP-5.4
...
* bug67251:
Fix bug #67251 - date_parse_from_format out-of-bounds read
Conflicts:
ext/date/lib/parse_date.c
2014-05-13 16:52:45 -07:00
Stanislav Malyshev
0094fd0969
Merge branch 'bug67252' into PHP-5.4
...
* bug67252:
fix bug #67253 : timelib_meridian_with_check out-of-bounds read
Fix bug #67252 : convert_uudecode out-of-bounds read
2014-05-13 16:47:27 -07:00
Stanislav Malyshev
466b8aa444
fix bug #67253 : timelib_meridian_with_check out-of-bounds read
2014-05-11 21:09:11 -07:00
Stanislav Malyshev
0a80849250
Fix bug #67251 - date_parse_from_format out-of-bounds read
2014-05-11 19:34:21 -07:00
Derick Rethans
e196dce45a
Rename timelib_get_zone to timelib_parse_zone and export.
2014-02-09 15:47:48 -05:00
Derick Rethans
93ede745bc
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/date/lib/parse_date.c
2014-01-25 16:16:23 +01:00
Derick Rethans
e6ab180394
Fixed bug #44780 : some time zone offsets not recognized by timezone_name_from_abbr.
2014-01-25 16:14:51 +01:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Xinchen Hui
c0d060f5c0
Bump year
2014-01-03 11:04:26 +08:00
David Soria Parra
3d6ac70e66
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS for #60577
NEWS for bug #64441
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
EmptyIterator now implements Countable; fixes bug 60577
News for bugfix #64157
Bug 64157 Changed error message to make sense
2013-09-16 23:36:37 +02:00
Boro Sitnikovski
a475b2c1db
Bug 64157
...
Changed error message to make sense
2013-09-16 03:42:49 +02:00
Stanislav Malyshev
825a505494
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #65554 in DateTime, when use it with D/l in format and textual day have dot at the end
Conflicts:
ext/date/lib/parse_date.c
ext/date/lib/parse_date.re
2013-08-25 15:14:17 -07:00
gron1987
e6424d89e9
Fix bug #65554 in DateTime, when use it with D/l in format and textual day have dot at the end
2013-08-25 15:09:29 -07:00
David Soria Parra
b86c85723e
Fix #64711 ("value computed but not used" in parse_date.c)
2013-04-26 11:33:54 +02:00
EC2 Default User
b07ecb5501
Bug #60774 (DateInterval::format("%a") is always zero when an interval is
...
created using the createFromDateString method)
2013-03-31 10:59:21 +01:00
Derick Rethans
84208d9dc5
Added the new .c files as well as they are not automatically regenerated.
2013-03-31 10:55:45 +01:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Sebastian Bergmann
eab14993fe
Invoke re2c with --no-generation-date to prevent unintentional / unnecessary changes in generated files.
2012-12-06 09:28:35 +01:00
Stanislav Malyshev
40bb9254c5
Merge branch 'pull-request/210' into PHP-5.4
...
* pull-request/210:
Fix bugs 62561,62896 (Modifying DateTime::__construct,date_create adds an hour) Prevent a unix timestamp, which is always GMT when being parsed, from taking on the local timezones DST flag.
2012-09-30 20:19:36 -07:00
Xinchen Hui
9d44ff640c
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/interbase/interbase.rc
2012-09-05 23:11:19 +08:00
Xinchen Hui
d64d9e3351
year++
2012-09-05 23:08:05 +08:00
Derick Rethans
ac631dd580
- Fixed bug #53502 (strtotime with timezone memory leak).
...
- Fixed bug #52062 (large timestamps with DateTime::getTimestamp and
DateTime::setTimestamp).
- Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz'
format).
- Fixed bug #51223 (Seg fault while creating (by unserialization)
DatePeriod).
2011-12-06 06:21:08 +00:00
Derick Rethans
5b2ce47f2e
- Fixed bug #53502 (strtotime with timezone memory leak).
...
- Fixed bug #52062 (large timestamps with DateTime::getTimestamp and
DateTime::setTimestamp).
- Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz'
format).
- Fixed bug #51223 (Seg fault while creating (by unserialization)
DatePeriod).
2011-12-06 06:21:08 +00:00
Derick Rethans
92e9a0bd91
- Fixed bug #54851 (DateTime::createFromFormat() doesn't interpret "D").
2011-11-26 16:44:21 +00:00
Derick Rethans
dc6ecd21ee
- Fixed bug #54851 (DateTime::createFromFormat() doesn't interpret "D").
2011-11-26 16:44:21 +00:00
Derick Rethans
1324d5d9c5
- Fixed bug #54596 (incorrect years for DateTime objects created with 4-digit
...
years).
2011-11-25 15:51:37 +00:00
Derick Rethans
c2ede9a00a
- Fixed bug #54596 (incorrect years for DateTime objects created with 4-digit
...
years).
2011-11-25 15:51:37 +00:00
Nuno Lopes
ddac85a947
properly regen file to fix coverage data
2011-06-23 14:58:02 +00:00
Stanislav Malyshev
bbf1904f3d
fix error reporting on missing data - don't produce double errors
2011-06-19 18:55:48 +00:00
Hannes Magnusson
6f56bf1cfc
Fixed bug#51819 (Case discrepancy in timezone names cause Uncaught exception and fatal error)
2011-06-05 13:30:01 +00:00
Hannes Magnusson
10da251565
Fixed bug#51819 (Case discrepancy in timezone names cause Uncaught exception and fatal error)
2011-06-05 13:30:01 +00:00
Nuno Lopes
301eda5b6d
MFB (r309775): fix last commit
2011-03-28 09:11:28 +00:00
Nuno Lopes
9aec0c6806
fix last commit:
...
- fix code coverage build
- spread static love
2011-03-28 09:10:23 +00:00
Adam Harvey
68811c473d
Fix bug #54316 (DateTime::createFromFormat does not handle trailing '|'
...
correctly).
2011-03-21 09:40:52 +00:00
Adam Harvey
e1c16f119c
Fix bug #54316 (DateTime::createFromFormat does not handle trailing '|'
...
correctly).
2011-03-21 09:40:52 +00:00
Derick Rethans
8ece8ad314
- Added the + modifier to parseFromFormat to allow trailing text in the
...
string to parse without throwing an error.
#- Patch by Stas, test case by me.
2010-12-12 17:17:16 +00:00
Derick Rethans
28b41c811d
- MFH: Added support for the ( and ) delimiters/separators to
...
DateTime::createFromFormat().
- Regenerated the parsers for HEAD and PHP_5_3.
2010-11-13 15:01:48 +00:00
Derick Rethans
8ca9251c8b
- MFH: Added support for the ( and ) delimiters/separators to
...
DateTime::createFromFormat().
- Regenerated the parsers for HEAD and PHP_5_3.
2010-11-13 15:01:48 +00:00
Derick Rethans
1fc5e47fb6
- Fixed bug #52430 (date_parse parse 24:xx:xx as valid time). (Derick)
2010-08-30 16:40:29 +00:00
Derick Rethans
bb8ec8d629
- Fixed bug #52430 (date_parse parse 24:xx:xx as valid time). (Derick)
2010-08-30 16:40:29 +00:00
Kalle Sommer Nielsen
e71ee33358
Fixed bug #51943 (Several files are out of ANSI spec)
...
# Based on patch by CoreyStup at gmail dot com
2010-07-13 23:59:54 +00:00
Kalle Sommer Nielsen
aeb1dc7cc4
Fixed bug #51943 (Several files are out of ANSI spec)
...
# Based on patch by CoreyStup at gmail dot com
2010-07-13 23:59:54 +00:00
Adam Harvey
53cfb3d53d
Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone).
2010-03-26 04:31:26 +00:00
Adam Harvey
a2edb7f69c
Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone).
2010-03-26 04:31:26 +00:00
Derick Rethans
3025ca8e17
- Fixed bug #46111 (Some timezone identifiers can not be parsed).
2010-03-07 19:18:06 +00:00
Derick Rethans
2d2e02740a
- Fixed bug #50392 (date_create_from_format enforces 6 digits for 'u' format
...
character).
2010-03-07 13:08:47 +00:00
Derick Rethans
13e0d47cf3
- Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when
...
parsing date strings).
- For 5.2 I just added the test case minus new 5.3 additions.
2010-03-06 16:04:47 +00:00
Derick Rethans
8ac4d1190a
- Added a test case for bug #45866
...
- Fixed tests: oo_002, bug46268
- Fixed bug #50930 (Wrong date by php_date.c patch with ancient gcc/glibc
versions).
- Make sure faulty strings passed to DateTime::modify() notify the user.
- Revert fix for bug #50392 as it was fixed wrongly without a proper test case.
- Fixed a bug with the 'r' formatting function as the default buffer size that
was allocated only fit 4 digit years.
2010-02-10 16:23:30 +00:00