Derick Rethans
851890bd9c
Import timelib 2022.09
2023-08-03 09:42:31 +01:00
Derick Rethans
c02ac26685
Import timelib 2022.08
2023-07-11 16:27:15 +01:00
Derick Rethans
639bfbc217
Sync timelib to 2022.05 to address OSS Fuzzer issues
2023-01-25 10:49:48 +00:00
Derick Rethans
f340854a30
Merge branch 'PHP-8.1' into PHP-8.2
2023-01-10 15:16:32 +00:00
Derick Rethans
d12ba111e0
Fixed GH-10218: DateTimeZone fails to parse time zones that contain the "+" character
2023-01-10 15:15:49 +00:00
Derick Rethans
1316a5b8fb
Merge branch 'PHP-8.1' into PHP-8.2
2022-12-01 11:08:38 +00:00
Derick Rethans
c87c803b96
Some (old, backwards compatible) TZIDs can have numbers in them
2022-12-01 10:58:37 +00:00
Derick Rethans
83b714d788
Merge branch 'PHP-8.1' into PHP-8.2
2022-11-30 15:55:46 +00:00
Derick Rethans
818b46acb0
Import timelib 2021.18
2022-11-30 15:42:11 +00: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
4a5202293b
Merge timelib 2021.17
2022-09-14 10:40:59 +01:00
Nikita Popov
40af94a24c
Fix unused-but-set-variable warnings in timelib
2022-07-28 22:29:42 +02:00
Derick Rethans
8ea587a305
Import timelib 2022.01
2022-07-22 15:34:57 +01:00
Derick Rethans
eea2283693
Merge timelib 2021.13
2022-07-21 11:42:35 +01:00
Derick Rethans
b510868bb8
Adjust existing tests for fixed bugs
2022-05-20 13:18:26 +01:00
Derick Rethans
546abc4bc6
Integrate timelib 2021.12
2022-05-20 13:18:26 +01:00
Derick Rethans
2bf451b925
Upgrade timelib to 2021.08, which address some defects and performance
...
- Fixed bug #80998 (Missing second with inverted interval).
- Speed up finding timezone offset information.
2021-08-31 15:29:48 +01:00
Dmitry Stogov
6871a49b66
Fix timelib_parse_zone() performance problem.
...
This makes "new DateTimeZone("Europe/London");" 170 times faster.
This is a hotfix for https://github.com/derickr/timelib/pull/99
2021-08-31 15:29:05 +03:00
Derick Rethans
8426623521
Upgrade timelib to 2021.06
...
Fixes among others:
. Bug #79580 (date_create_from_format misses leap year).
. Bug #80974 (Wrong diff between 2 dates in different timezones).
. Bug #81097 (DateTimeZone silently falls back to UTC when providing an offset with seconds).
. Bug #81273 (Date interval calculation not correct).
2021-08-08 13:41:33 +01:00
Derick Rethans
091c0920b9
Upgrade timelib to 2021.03 and fix many date/time issues
2021-04-06 20:50:32 +01:00
Derick Rethans
8ec906563c
Update timelib to 2020.02
2020-08-31 12:23:54 +01:00
Derick Rethans
0bc8785b61
Update timelib to 2020.01
2020-08-31 12:03:08 +01:00
Derick Rethans
778902db63
Update timelib to 2018.04
2020-08-31 11:41:41 +01:00
Derick Rethans
aae5907cb7
Update timelib to 2018.02
2019-06-30 15:45:13 +01:00
Derick Rethans
9c608bd13f
Upgrade timelib to 2018.01RC1, to fix bug #77007
2018-10-12 11:50:36 +01:00
Derick Rethans
09340ea9b9
Fixed bug #75577 : DateTime::createFromFormat does not accept 'v' format specifier, by updating timelib to 2018.01alpha2
2018-10-09 11:08:40 +01:00
Derick Rethans
5feb53964f
Sync with timelib 2017.06
2018-01-31 11:55:35 +00:00
Derick Rethans
c0383b5039
Upgrade timelib to 2017.05beta9
2017-09-04 22:45:34 +01:00
Derick Rethans
584db6f38f
Merged PHP-7.0 by hand due to conflicts.
2017-08-15 15:06:18 +01:00
Stanislav Malyshev
0ba04f7737
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435 : Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807
2017-07-04 21:18:10 -07:00
Derick Rethans
e8b7698f5e
Fixed parsing of strange formats with mixed month/day and time strings
2017-07-04 19:19:30 -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
91fd4bf000
Fixed parsing of AM/PM without all the expected dots in place
2016-09-30 20:21:48 +01:00
Derick Rethans
822ca45220
Merge in changes in timelib 2016.01
2016-01-29 15:21:55 +01:00
Derick Rethans
96d1d13d87
Update timelib to 2015.02
2015-09-22 08:59:45 +01:00
Derick Rethans
fab5cbab1a
Bumb timelib version to 2015.01
2015-09-22 08:41:56 +01:00
Derick Rethans
cdd2b8a79f
Merge whitespace changes that have been made to timelib and PHP-5.6 and master
2015-04-28 15:57:26 +01:00
Derick Rethans
ffbd380e44
Fixed bug #69336 (Issues with "last day of <monthname>").
2015-03-31 16:35:03 +01:00
Xinchen Hui
73c1be2653
Bump year
2015-01-15 23:26:03 +08:00
Derick Rethans
36d05d75c8
Fixed bug #67109 : First uppercase letter breaks date string parsing.
2014-08-18 18:41:50 +01:00
Derick Rethans
2b9af967fb
Fixed bug #66985 : Some timezones are no longer valid in PHP 5.5.10.
2014-08-18 18:41:50 +01:00
Peter Cowburn
c2f2d5c8fc
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Bug #51096 - Remove unnecessary ? for first/last day of
Conflicts:
ext/date/lib/parse_date.c
2014-07-31 14:33:55 +01:00
Peter Cowburn
358aedc454
Bug #51096 - Remove unnecessary ? for first/last day of
2014-07-31 14:21:38 +01:00
Lior Kaplan
c38b73a701
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update copyright year for re2c generated files
Update copyright year to 2014
Update copyright year for re2c files as well
2014-06-16 23:30:44 +03:00
Lior Kaplan
e667d23178
Update copyright year for re2c files as well
2014-06-16 23:26:50 +03:00
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