1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Commit Graph

226 Commits

Author SHA1 Message Date
Derick Rethans
de18a02163 - Fixed bug #46111 (Some timezone identifiers can not be parsed). 2010-03-07 19:18:06 +00:00
Derick Rethans
3cface60c8 - Fixed bug #49059 (DateTime::diff() repeats previous sub() operation). 2010-03-07 17:25:16 +00:00
Derick Rethans
39a5cd563f - Update test cases after the fix for bug #49778. 2010-03-07 17:23:40 +00:00
Derick Rethans
e1afa750b9 - Fixed test case, there are Unicode keys here. 2010-03-07 17:20:08 +00:00
Derick Rethans
2c9de65193 - Fixed bug #40778 (DateInterval::format("%a") is always zero when an interval
is created from an ISO string).
2010-03-07 15:26:39 +00:00
Derick Rethans
ffeb100e5e - Fixed bug #50555 (DateTime::sub() allows 'relative' time modifications). 2010-03-07 13:54:46 +00:00
Derick Rethans
9910aab74e - Change this test case because non-6 digits are supported now, and clarify
that the "1" doesn't show because the precision isn't high enough. (Same
  happens if you change it to 9).
2010-03-07 13:47:06 +00:00
Derick Rethans
baff5e6866 - Fixed bug #50392 (date_create_from_format enforces 6 digits for 'u' format
character).
2010-03-07 13:08:47 +00:00
Derick Rethans
f8e412ae51 - Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when
parsing date strings).
- For 5.2 I just added the test case minus new 5.3 additions.
2010-03-06 16:04:47 +00:00
Derick Rethans
8e16076dc2 - Fixed bug #49585 (date_format buffer not long enough for >4 digit years).
#- Was already partly fixed with my previous commit.
2010-02-10 16:55:40 +00:00
Derick Rethans
50c807face - Added a test case for bug #45866
- Fixed tests: oo_002, bug46268
- Fixed bug #50930 (Wrong date by php_date.c patch with ancient gcc/glibc
  versions).
- Make sure faulty strings passed to DateTime::modify() notify the user.
- Revert fix for bug #50392 as it was fixed wrongly without a proper test case.
- Fixed a bug with the 'r' formatting function as the default buffer size that
  was allocated only fit 4 digit years.
2010-02-10 16:23:30 +00:00
Derick Rethans
2c52fffdf9 - Fixed a few tests due to Unicode and the environment var support. 2010-02-10 16:16:18 +00:00
Ilia Alshanetsky
3c92875e18 Added test for bug #50680 2010-01-14 15:45:49 +00:00
Ilia Alshanetsky
312d703cce Fixed bu #50392 (date_create_from_format() enforces 6 digits for 'u' format character) 2009-12-15 12:34:12 +00:00
andy wharmby
3863c25ed8 Fix tests 2009-11-05 22:44:02 +00:00
Felipe Pena
1a750aabc0 - Fixed tests 2009-10-10 00:31:18 +00:00
Rasmus Lerdorf
22fdde3f5d Fix date_sunrise/date_sunset tests 2009-09-29 13:56:51 +00:00
Jani Taskinen
7ae78572e2 - Move tests in the right location 2009-09-22 09:41:39 +00:00
Zoe Slattery
36a338a569 The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Zoe Slattery
157453148a More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
Rasmus Lerdorf
7f607e0017 Missed a merge 2009-08-02 23:12:04 +00:00
Derick Rethans
923a5de072 - Fixed bug #45554 (Inconsistent behavior of the u format char). 2009-07-29 15:34:59 +00:00
Johannes Schlüter
0da1b677b3 Add test 2009-06-25 15:04:14 +00:00
Scott MacVicar
ef76d96812 Specific test for bug #48276 2009-06-21 22:30:37 +00:00
Matt Wilmas
9061bf39bd Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:24:09 +00:00
Felipe Pena
32f3dbc12c - New tests (testfest Quebec) 2009-05-17 01:16:02 +00:00
Derick Rethans
9efb9daffe - Fixed bug #45682 (Unable to var_dump(DateInterval)). 2009-05-03 18:45:06 +00:00
Derick Rethans
e630833ba6 - Fixed bug #48058 (Year formatter goes wrong with out-of-int range).
- Fixed bug #45822 (Near infinite-loops while parsing huge relative offsets).
2009-05-03 18:21:52 +00:00
Derick Rethans
45d8a45e1b - Added test for (bogus) bug #48097. 2009-05-03 14:28:16 +00:00
andy wharmby
05f4a87a0a PHP 6 version of a new date test missed from earlier drop 2009-04-22 10:42:23 +00:00
Felipe Pena
2582b6ca24 - Added test 2009-04-08 00:29:55 +00:00
andy wharmby
369c5701e2 Fix date tests which started failing after change to BST 2009-03-30 12:35:29 +00:00
andy wharmby
8558435556 New tests for various date extension functions. Tested on Windows, Linux and linux 64 2009-03-18 23:35:10 +00:00
andy wharmby
124fc28089 New tests for date extension DateTime methods Tested on Windows, Linux and linux 64 2009-03-18 11:32:56 +00:00
andy wharmby
84bd22c4ee New tests for date extension DateTimeZone methods Tested on Windows, Linux and linux 64 2009-03-18 11:13:01 +00:00
Antony Dovgal
7eb808f802 fix tests 2009-03-01 21:26:47 +00:00
Antony Dovgal
fac1ac55c9 fix test 2009-01-28 12:58:50 +00:00
Derick Rethans
0e1277e317 - Elevate no-tz setting made from E_STRICT to E_WARNING.
#- [DOC]
2009-01-27 13:44:38 +00:00
andy wharmby
a282ccc130 New date tests for getdate() and gmstrftime(). Tested on WIndows, Linux and Linux 64 bit 2009-01-22 18:47:47 +00:00
andy wharmby
f0c173aa35 New basic time()and microtime() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-22 14:11:14 +00:00
andy wharmby
c8043b2ab3 Fix test after #46732 fix. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 13:50:48 +00:00
Sanjay Mantoor
23f3a4428a New testcases for strftime function 2009-01-21 10:49:41 +00:00
Antony Dovgal
373782999e fix typo 2009-01-14 16:33:26 +00:00
andy wharmby
4d84966e05 Fix date_suninfo_tests; add missing date_default_timezone_set() to ensure they PASS when run in any timezone. Tested on WIndows, Linux and Linux 64bit. 2009-01-14 16:27:29 +00:00
andy wharmby
41595b45f6 Fix new date tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 22:29:14 +00:00
andy wharmby
1075672e44 New date extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 13:38:05 +00:00
Sanjay Mantoor
44fd24fe0f New testcases for localtime function 2009-01-09 05:10:33 +00:00
Felipe Pena
d23d2f358c - Fixed tests 2009-01-05 17:53:53 +00:00
Derick Rethans
ba76cf017e - Fixed bug #46268 (DateTime::modify() does not reset relative time
values).
2008-12-18 20:32:44 +00:00
Derick Rethans
e17e4cb658 - Fixed test-case. 2008-12-18 14:53:46 +00:00