Anatol Belski
da3995852e
regenerate date parser with re2c 0.15.3
2016-07-24 14:53:53 +02:00
Anatol Belski
90c26fb6b1
regenerate date parser with re2c 0.13.5
2016-07-20 13:32:53 +02:00
Derick Rethans
1dafa806a9
Merge branch 'PHP-5.6' into PHP-7.0
2016-07-20 10:21:03 +01: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
Nikita Popov
411eee7b5a
Fix leak when creating timezone with null bytes
2016-07-14 18:39:16 +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
Derick Rethans
7759d6b0db
Merge branch 'PHP-5.6' into PHP-7.0
2016-07-11 11:32:10 +01: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
a4e140e6ab
Updated to version 2016.6 (2016f)
2016-07-06 11:15:45 +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
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
Derick Rethans
020541587a
Updated to version 2016.5 (2016e)
2016-06-15 11:58:50 +01:00
Derick Rethans
fffa1aa0f3
Updated to version 2016.5 (2016e)
2016-06-15 11:58:47 +01:00
Nikita Popov
93f7939891
Merge branch 'PHP-5.6' into PHP-7.0
...
Conflicts:
ext/date/php_date.c
2016-06-14 22:38:44 +02:00
Nikita Popov
248fdfcf73
Maybe fix bug #72011
2016-06-14 22:37:27 +02: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
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
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
70878a92b1
Updated to version 2016.3 (2016c)
2016-03-24 11:09:07 +00:00
Derick Rethans
c4681ec8e1
Updated to version 2016.3 (2016c)
2016-03-24 11:09:05 +00:00
Derick Rethans
ba71144b8c
Updated to version 2016.2 (2016b)
2016-03-15 09:14:11 +00:00
Derick Rethans
ddc62f2e8b
Updated to version 2016.2 (2016b)
2016-03-15 09:14:09 +00: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
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
Anatol Belski
53639c44df
make sure the tests always uses same tz
2016-02-15 08:38:55 +01:00
Sean DuBois
f31e0cd334
Fix bug #71525
...
timelib_time->timelib_rel_time is mutated by date_modify, and because it is never zero'ed out
it latters causes other date operations to fail (like date_date_set)
2016-02-15 08:19:07 +01:00
Derick Rethans
b573658092
Updated to version 2016.1 (2016a)
2016-02-02 10:34:05 +00:00
Derick Rethans
43fee6c6a1
Updated to version 2016.1 (2016a)
2016-02-02 10:34:03 +00:00
Derick Rethans
3523c0a45f
Merge branch 'PHP-5.6' into PHP-7.0
2016-01-29 15:30:31 +01: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
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Julien Pauli
048fb4b00f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed and improved tests
test to function socket_getopt();
test to function socket_clear_error();;
test to function socket_shutdown();
test to function socket_send();
test to function gethostname ( void );
test to function DateTimeZone::getLocation();
test to function stream_get_transports();
test to function stream_get_wrappers();
test to function stream_socket_enable_crypto();
test to function stream_socket_get_name();
Create stream_socket_recvfrom.phpt
test to stream function set_file_buffer.phpt();
test to function PDO_getAvaliableDrivers;
test to misc. function connection_status();
test to function connection_aborted();
test to function memory_get_peak_usage();
2015-12-24 14:08:59 +01:00
marcosptf
891ac59305
test to function DateTimeZone::getLocation();
2015-12-24 10:56:23 +01:00
Xinchen Hui
4171a8f6c6
Internal function argumensts cleanup (strict_types)
2015-12-12 22:52:37 -08:00
Xinchen Hui
f248309b74
Revert "Fixed bug #71053 (Type Hint about DateTime::diff does not match with informed)"
...
THis is bc break, which will break $date1->diff($date2 , 1), which is
common used
please do not do bc break without a asking
This reverts commit 943b23dcf6 .
2015-12-09 12:00:23 +08:00
Reeze Xia
943b23dcf6
Fixed bug #71053 (Type Hint about DateTime::diff does not match with informed)
2015-12-09 11:40:47 +08:00
Nuno Lopes
052dd3005b
fix coverage report for datelib
2015-10-04 05:45:05 -04:00