Derick Rethans
0a1a9997c7
Merge branch 'PHP-8.1' into PHP-8.2
2022-10-19 16:03:02 +01:00
Derick Rethans
df085f4678
Merge branch 'PHP-8.0' into PHP-8.1
2022-10-19 16:02:57 +01:00
Derick Rethans
011b7f9840
Test for bug #78055 (DatePeriod's getRecurrences and ->recurrences don't match)
2022-10-19 16:02:49 +01:00
Derick Rethans
2e6b317fe3
Merge branch 'PHP-8.1' into PHP-8.2
2022-10-17 18:22:42 +01:00
Derick Rethans
25744dd73c
Merge branch 'PHP-8.0' into PHP-8.1
2022-10-17 18:22:36 +01:00
Derick Rethans
7b48053293
Fixed GH-9763: DateTimeZone ctr mishandles input and adds null byte if the argument is an offset larger than 100*60 minutes
2022-10-17 17:08:44 +01:00
Christoph M. Becker
3b5a9da2dc
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Updated to version 2022.5 (2022e)
Updated to version 2022.5 (2022e)
2022-10-13 11:43:33 +02:00
Derick Rethans
577b904fdc
Updated to version 2022.5 (2022e)
2022-10-12 09:37:30 +01:00
Derick Rethans
24963be8ef
Updated to version 2022.5 (2022e)
2022-10-12 09:37:28 +01:00
Ilija Tovilo
a5fdfc4fc0
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[skip ci ] Rename matrix-include output on old branches
Updated to version 2022.4 (2022d)
Updated to version 2022.4 (2022d)
2022-09-29 13:08:45 +02:00
Derick Rethans
0360e62cae
Updated to version 2022.4 (2022d)
2022-09-29 11:52:08 +01:00
Derick Rethans
d16b5d3803
Updated to version 2022.4 (2022d)
2022-09-29 11:52:06 +01:00
Máté Kocsis
e4f2376919
Improve string class constant code generation ( #9577 )
...
Using strlen() will make sure that non-constant values can also be used.
2022-09-26 23:12:34 +02:00
Ilija Tovilo
dbbb7427be
Backport skipping of ext/date/tests/gh-124.phpt on ASAN
2022-09-16 01:29:12 +02:00
Ilija Tovilo
2cdf7b91e5
Skip 64-bit specific date test on 32-bit
2022-09-14 23:03:34 +02:00
Derick Rethans
7448ee365c
Add test case for timelib #124
2022-09-14 16:44:46 +01:00
Derick Rethans
f8b27c73c9
Use 'const' for fixed API
2022-09-14 16:40:06 +01:00
Derick Rethans
06d4c70e51
Integrate timelib 2022.02
...
- Fixed #124 : Can't parse INT_MIN
- Added a new API, timelib_get_time_zone_offset_info, which reduces allocation
speeding up algorithms (Alberto Massari)
- Accelerate the do_range_limit_days algorythm by advancing multiple months in
a single call (Alberto Massari)
Including fixes from 2021.17:
- Fixed 'const' and other compiler warnings
- Use new 'PACKRAT' format to prevent old timestamps from becoming incorrect
- New 2022b data file
- Fixed PHP GH-9165: strtotime translates a date-time with DST/non-DST hour
differently
2022-09-14 16:33:05 +01:00
Derick Rethans
dd365b044a
Add 'const' to match actual API
2022-09-14 11:02:26 +01:00
Derick Rethans
e5b4624b8b
Fixed #9165 : strtotime translates a date-time with DST/non-DST hour differently based on default timezone
2022-09-14 10:42:42 +01:00
Derick Rethans
4a5202293b
Merge timelib 2021.17
2022-09-14 10:40:59 +01:00
Bob Weinand
a01dd9feda
Revert "Port all internally used classes to use default_object_handlers"
...
This reverts commit 94ee4f9834 .
The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.
2022-09-14 11:13:23 +02:00
Derick Rethans
49c029858b
Fixed error updating once more
2022-09-09 09:16:24 +01:00
Derick Rethans
f799bc4eca
Don't return existing error_container/NULL, but use by-ref instead
2022-09-09 00:25:30 +01:00
Derick Rethans
8cdfffb753
Fixed MemorySanitizer: use-of-uninitialized-value warning introduced by 932586c426
2022-09-09 00:25:30 +01:00
Bob Weinand
94ee4f9834
Port all internally used classes to use default_object_handlers
...
Signed-off-by: Bob Weinand <bobwei9@hotmail.com >
2022-08-31 16:45:27 +02:00
Derick Rethans
932586c426
Fixed bug GH-9431: DateTime::getLastErrors() not returning false when no errors/warnings
...
For PHP 8.2 and later only.
2022-08-29 14:33:41 +01:00
Máté Kocsis
b4ec3e9bc0
Do not generate CONST_CS when registering constants ( #9439 )
2022-08-28 08:27:19 +02:00
Derick Rethans
9dc6ee995f
Merge branch 'PHP-8.1'
2022-08-11 16:26:46 +01:00
Derick Rethans
3509ca3d65
Merge branch 'PHP-8.0' into PHP-8.1
2022-08-11 16:26:40 +01:00
Derick Rethans
962d8bd0b6
The data for Tehran has changed, update test
2022-08-11 16:26:33 +01:00
Derick Rethans
2fbea217c2
Updated to version 2022.2 (2022b)
2022-08-11 15:54:31 +01:00
Derick Rethans
455c40da50
Updated to version 2022.2 (2022b)
2022-08-11 15:54:30 +01:00
Derick Rethans
c6992121cc
Updated to version 2022.2 (2022b)
2022-08-11 15:54:28 +01:00
Nikita Popov
40af94a24c
Fix unused-but-set-variable warnings in timelib
2022-07-28 22:29:42 +02:00
Derick Rethans
d002a0d837
Change test to ignore INT_MIN/MAX, and fixed off WS
2022-07-28 15:44:23 +01:00
Derick Rethans
a50499bbaf
Merge branch 'PHP-8.1'
2022-07-28 15:15:15 +01:00
Derick Rethans
a0c01f385c
Add test case for GH-9601: DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0
2022-07-28 11:55:35 +01:00
Derick Rethans
a35b3e70c3
Import timelib 2021.16
2022-07-28 11:51:11 +01:00
Derick Rethans
534127d3b2
Merge branch 'PHP-8.1'
2022-07-28 11:49:00 +01:00
Derick Rethans
b0d67aa605
Merge remote-tracking branch 'derickr/bug80047-take2' into PHP-8.1
2022-07-28 11:48:30 +01:00
Derick Rethans
001e7dbb04
Fixed bug #80047 (DatePeriod doesn't warn with custom DateTimeImmutable)
2022-07-28 10:28:10 +01:00
Derick Rethans
85f3a969dc
Revert "Fixed #80047 : DatePeriod doesn't warn with custom DateTimeImmutable"
...
This reverts commit 973c3f6e24 .
2022-07-28 10:13:54 +01:00
Derick Rethans
1d0e5eddd5
Add test case for bug #80483/#75035
2022-07-22 15:34:57 +01:00
Derick Rethans
6ae86c2358
Fixed bug #80022 : Support ISO 8601 years outside 0000-9999 range better
2022-07-22 15:34:57 +01:00
Derick Rethans
8ea587a305
Import timelib 2022.01
2022-07-22 15:34:57 +01:00
Derick Rethans
b1575f996c
Merge branch 'PHP-8.1'
2022-07-22 13:08:11 +01:00
Derick Rethans
7831a1cae6
Add test case for GH-8964
2022-07-22 13:06:32 +01:00
Derick Rethans
0d3061d225
Import timelib 2021.15
2022-07-22 13:06:32 +01:00
Derick Rethans
41694cfe13
Merge branch 'PHP-8.1'
2022-07-21 12:32:40 +01:00