Anatol Belski
45ac5edbd9
Parametrize the expected value to avoid platform false positives
2017-10-24 18:33:21 +02:00
Anatol Belski
a7815e63bd
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
2017-10-24 11:28:17 +02:00
Stanislav Malyshev
e46d589624
Fix tests
2017-07-04 20:12:57 -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
6785ea2340
Updated to version 2016.10 (2016j)
2016-11-24 10:40:11 +00:00
Derick Rethans
ccb91cde94
Updated to version 2016.9 (2016i)
2016-11-03 13:57:28 -04:00
Derick Rethans
4f5a755b9d
Updated to version 2016.8 (2016h)
2016-10-24 10:37:07 +01:00
Derick Rethans
c0219b323e
Fixed tests due to changes in underlaying data
2016-09-30 20:49:44 +01: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
6a544f2d1e
Updated to version 2016.7 (2016g)
2016-09-28 23:30:26 +01:00
Anatol Belski
9cd23ff84f
regenerate date parser with re2c 0.15.3
2016-07-24 14:50:10 +02:00
Anatol Belski
b57a38f584
regenerate date parser with re2c 0.13.5 to fix OSX issues
2016-07-20 17:57:39 +02:00
Derick Rethans
18ba78e988
Regenerate with the -b flag, as we used to do.
...
Apparently, Apple's LLVM can't handle it otherwise o_O.
2016-07-20 10:19:53 +01:00
Christoph M. Becker
966311e627
Bug #66836 has been fixed
2016-07-11 16:06:35 +02:00
Derick Rethans
6a5e1783b7
Generate new .c file from .re file, as that was missing on my previous commit
2016-07-11 11:31:43 +01:00
Derick Rethans
884db2f7be
Updated to version 2016.6 (2016f)
2016-07-06 11:15:42 +01:00
Derick Rethans
8267a5fba7
Fixed expected test outcome due to rule changes
2016-06-15 18:31:41 +01:00
Derick Rethans
fffa1aa0f3
Updated to version 2016.5 (2016e)
2016-06-15 11:58:47 +01:00
Nikita Popov
248fdfcf73
Maybe fix bug #72011
2016-06-14 22:37:27 +02: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
Thomas Punt
1aea777349
Use STR_EMPTY_ALLOC macro instead
2016-04-05 11:18:14 +02:00
Thomas Punt
40f14bad33
Fix DateInterval::format segfault
2016-04-05 11:18:14 +02:00
Derick Rethans
c4681ec8e1
Updated to version 2016.3 (2016c)
2016-03-24 11:09:05 +00:00
Derick Rethans
ddc62f2e8b
Updated to version 2016.2 (2016b)
2016-03-15 09:14:09 +00:00
Thomas Punt
f3f5a07aa5
Fix DatePeriod::getEndDate() segfault
2016-03-11 14:08:48 +01:00
Anatol Belski
11102e2653
Fix timelib compat with PHP5
...
Windows builds in PHP5 are always using long which is 32-bit even
in 64-bit build. Thus in PHP5, timelib_long and the company have
to always evaluate to a 32-bit.
2016-02-15 16:50:42 +01:00
Anatol Belski
633fb2d0e8
Backported fix for bug #71525
2016-02-15 15:14:23 +01:00
Derick Rethans
43fee6c6a1
Updated to version 2016.1 (2016a)
2016-02-02 10:34:03 +00:00
Derick Rethans
1a86825688
Use the new timelib function for comparing times
2016-01-29 15:28:11 +01:00
Willem-Jan
2aeef4e539
Test + support for negative timestamps with microtime
2016-01-29 15:22:22 +01:00
Willem-Jan
1bbbc47e79
Also test against equality
2016-01-29 15:22:22 +01:00
Willem-Jan
5879721936
Compare agaist fraction when sse are equal
2016-01-29 15:22:22 +01:00
Willem-Jan
a0237259e9
Added test for comparing dates with microseconds
2016-01-29 15:22:22 +01:00
Derick Rethans
822ca45220
Merge in changes in timelib 2016.01
2016-01-29 15:21:55 +01:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
marcosptf
891ac59305
test to function DateTimeZone::getLocation();
2015-12-24 10:56:23 +01:00
Nuno Lopes
052dd3005b
fix coverage report for datelib
2015-10-04 05:45:05 -04:00
Derick Rethans
c08824fd72
Updated to version 2015.7 (2015g)
2015-10-02 18:12:16 +01:00
Xinchen Hui
c98ea8465b
Fixed bug #70619 (DateTimeImmutable segfault)
2015-10-02 07:19:21 -07:00
Anatol Belski
8317e0fa46
add missing header
...
For PRIu32 and maybe more, that fixes build
2015-09-23 14:01:59 +02:00
Derick Rethans
96d1d13d87
Update timelib to 2015.02
2015-09-22 08:59:45 +01:00
Derick Rethans
e4f3fb976b
Fixed test cases due to changes in rules
2015-09-22 08:42:12 +01:00
Derick Rethans
fab5cbab1a
Bumb timelib version to 2015.01
2015-09-22 08:41:56 +01:00
Anatol Belski
00eebd7a47
fix dir separator in test
2015-08-28 11:39:26 +02:00
Anatol Belski
5d2294e8b8
fix path separator in test
2015-08-28 11:38:16 +02:00
Christoph M. Becker
bb057498f7
Fix #70277 : new DateTimeZone($foo) is ignoring text after null byte
...
The DateTimeZone constructors are not binary safe. They're parsing the timezone
as string, but discard the length when calling timezone_initialize(). This
patch adds a tz_len parameter and a respective check to timezone_initialize().
2015-08-17 15:58:37 +02:00
Derick Rethans
b010a9d846
Fixed sorting order
...
It needs to match the strcasecmp in parse_tz.c.
2015-08-16 21:27:07 +01:00
Christoph M. Becker
e66bf11638
Fix #70266 (DateInterval::__construct.interval_spec is not supposed to be optional)
...
The required_num_args argument of ZEND_BEGIN_ARG_INFO_EX() has to be 1.
2015-08-14 14:19:12 +02:00
Derick Rethans
f94bcb1026
Of course, we support v2 in PHP 5.6 as well.
2015-08-13 11:07:16 +01:00
Derick Rethans
890204fa45
Updated to version 2015.6 (2015f)
2015-08-13 10:54:03 +01:00