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
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
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
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