Nikita Popov
6635639b75
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-09 16:45:28 +01:00
mcq8
b224e74267
Fixed bug #72096 Swatch time value incorrect for dates before 1970
2017-03-09 16:44:02 +01:00
Derick Rethans
a7ff583e7e
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-02 11:28:09 +00:00
Derick Rethans
cf60f26da6
Fixed tests after tzdb removed abbreviations
2017-03-02 11:28:02 +00:00
Derick Rethans
61e9b7354f
Make sure we anchor this test to February
2017-03-02 11:27:44 +00:00
Nikita Popov
bc1807dbe2
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-02 12:13:38 +01:00
Mitch Hagstrand
29333550d2
Fix bug73858.phpt to work in months without 31 days
...
Used hardcoded months in bug73858.phpt rather than the current and previous
month.
2017-03-02 12:13:06 +01:00
Derick Rethans
d28df113d5
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-12 20:19:02 +00:00
Derick Rethans
f0519f4837
Upgrade timelib to 2017.01
...
This fixes:
- Fixed bug #72719 (Relative datetime format ignores weekday on sundays only).
- Fixed bug #73294 (DateTime wrong when date string is negative).
- Fixed bug #73489 (wrong timestamp when call setTimeZone multi times with UTC
offset).
- Fixed bug #73858 (first/last day of' flag is not being reset).
- Fixed bug #73942 ($date->modify('Friday this week') doesn't return a Friday
if $date is a Sunday).
- Fixed bug #74057 (wrong day when using "this week" in strtotime).
2017-02-12 20:17:01 +00:00
Joe Watkins
d11bed5909
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add test ini_set with invalid time zone
2017-01-16 04:13:26 +00:00
Niklas Keller
cc9893eb44
Add test ini_set with invalid time zone
...
Wasn't covered before according to gcov.php.net.
2017-01-16 04:13:01 +00:00
Nikita Popov
8467c5c9bf
Fix year dependent test
2017-01-01 12:15:52 +01:00
Dmitry Stogov
c8dc23e9ba
Fixed test
2016-11-17 13:43:45 +03:00
Joe Watkins
77efe76bf7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
news entry for #1787
move declaration of vars to top
add test for #69587
fix bug #69587 DateInterval properties and isset
2016-11-13 05:34:11 +00:00
jhdxr
9ad2083773
add test for #69587
2016-11-13 05:32:24 +00:00
Joe Watkins
d1910f66e5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
added a test for date_interval_format function
Merge branch 'pull-request/2198'
2016-11-12 09:59:24 +00:00
Jean Carlo Machado
f578ce3a13
added a test for date_interval_format function
2016-11-12 09:57:50 +00:00
Derick Rethans
1d1a7feecf
- Fixed bug #73426 : createFromFormat with 'z' format char results in incorrect time.
2016-10-31 10:43:33 +00:00
Remi Collet
0820c94382
also fix 32bits test for microsecond
2016-10-17 15:07:56 +02:00
Anatol Belski
06e7c9983a
fix test
...
(cherry picked from commit fa9370db03 )
2016-10-14 01:44:45 +02:00
Stanislav Malyshev
c4254588a9
Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation
...
(cherry picked from commit 1b29e4488e )
2016-10-14 01:36:38 +02:00
Stanislav Malyshev
1bdb30a429
Merge branch 'PHP-7.0.12' into PHP-7.0
...
* PHP-7.0.12:
set versions and release date
sync NEWS
Revert "Fixed bug #73067 (__debugInfo crashes when throwing an exception)"
Fix for #73240 - Write out of bounds at number_format
Fix bug #73257 and bug #73258 - SplObjectStorage unserialize allows use of non-object as key
set versions
Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation
2016-10-11 16:46:51 -07:00
Derick Rethans
e3271b1814
Fixed bug #64887 (Allow DateTime modification with subsecond items).
2016-10-07 13:40:06 -04:00
Derick Rethans
55626549d8
Improve support for microseconds with Date/Time
...
It fixes several bugs:
- Fixed bug #45554 (Inconsistent behavior of the u format char).
- Fixed bug #48225 (DateTime parser doesn't set microseconds for "now").
- Fixed bug #52514 (microseconds are missing in DateTime class).
- Fixed bug #52519 (microseconds in DateInterval are missing).
- Fixed bug #68506 (General DateTime improvments needed for microseconds to become useful).
- Fixed bug #73109 (timelib_meridian doesn't parse dots correctly).
- Fixed bug #73247 (DateTime constructor does not initialise microseconds property).
It also updates timelib to 2016.04, and updates a data mapping file, which
causes changes to the volatile abbreviations tests.
2016-10-05 15:03:06 -04:00
Derick Rethans
e63443d825
Merge branch 'PHP-7.0' into PHP-7.1
2016-09-30 20:50:00 +01:00
Derick Rethans
6ad288ee23
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-30 20:49:53 +01:00
Derick Rethans
c0219b323e
Fixed tests due to changes in underlaying data
2016-09-30 20:49:44 +01:00
Stanislav Malyshev
1b29e4488e
Fix bug #73091 - Unserializing DateInterval object may lead to __toString invocation
2016-09-25 16:43:24 -07:00
Christoph M. Becker
90108a2f89
Merge branch 'PHP-7.0'
2016-07-11 16:10:15 +02:00
Christoph M. Becker
23d4c9e6c7
Merge branch 'PHP-5.6' into PHP-7.0
2016-07-11 16:08:10 +02:00
Christoph M. Becker
966311e627
Bug #66836 has been fixed
2016-07-11 16:06:35 +02:00
Aaron Piotrowski
24237027bc
Merge branch 'throw-error-in-extensions'
2016-07-05 02:08:39 -05:00
Derick Rethans
8267a5fba7
Fixed expected test outcome due to rule changes
2016-06-15 18:31:41 +01:00
Derick Rethans
22343e8a31
Merge branch 'PHP-7.0'
2016-06-15 18:30:19 +01:00
Derick Rethans
76ec139a0a
Merge branch 'PHP-5.6' into PHP-7.0
2016-06-15 18:30:03 +01:00
Derick Rethans
e0e83c0180
Fixed expected test outcome due to rule changes
2016-06-15 18:29:40 +01:00
Aaron Piotrowski
771e5cc247
Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error
2016-06-13 09:02:17 -05:00
Aaron Piotrowski
e3c681aa5c
Merge branch 'master' into throw-error-in-extensions
2016-06-10 22:02:23 -05:00
Derick Rethans
932c9520bc
Merge branch 'PHP-7.0'
2016-05-18 12:19:58 +01:00
Derick Rethans
c572968900
Merge branch 'PHP-5.6' into PHP-7.0
2016-05-18 12:19:49 +01:00
Derick Rethans
f43f6fc39b
Fixed bug #63740 (strtotime seems to use both sunday and monday as start of week)
2016-05-18 12:19:11 +01:00
Anatol Belski
9f5970e60a
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Use STR_EMPTY_ALLOC macro instead
Fix DateInterval::format segfault
2016-04-05 11:24:45 +02:00
Anatol Belski
d10a8e4804
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Use STR_EMPTY_ALLOC macro instead
Fix DateInterval::format segfault
2016-04-05 11:24:23 +02:00
Thomas Punt
40f14bad33
Fix DateInterval::format segfault
2016-04-05 11:18:14 +02:00
Anatol Belski
0c3022f436
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fix DatePeriod::getEndDate() segfault
2016-03-11 14:13:11 +01:00
Anatol Belski
d26d80ab75
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix DatePeriod::getEndDate() segfault
2016-03-11 14:12:54 +01:00
Thomas Punt
f3f5a07aa5
Fix DatePeriod::getEndDate() segfault
2016-03-11 14:08:48 +01:00
Anatol Belski
633fb2d0e8
Backported fix for bug #71525
2016-02-15 15:14:23 +01:00
Anatol Belski
e0fa32cc8e
Merge branch 'PHP-7.0'
...
* PHP-7.0:
make sure the tests always uses same tz
2016-02-15 08:39:19 +01:00
Anatol Belski
53639c44df
make sure the tests always uses same tz
2016-02-15 08:38:55 +01:00