Commit Graph

189 Commits

Author SHA1 Message Date
andy wharmby
76b30f6434 Fix date tests which started failing after change to BST 2009-03-30 12:35:31 +00:00
andy wharmby
a2e4773405 New tests for various date extension functions. Tested on Windows, Linux and linux 64 2009-03-18 23:35:25 +00:00
andy wharmby
0c1fe359a1 New tests for date extension DateTime methods Tested on Windows, Linux and linux 64 2009-03-18 11:32:59 +00:00
andy wharmby
13db8cb25a New tests for date extension DateTimeZone methods Tested on Windows, Linux and linux 64 2009-03-18 11:13:04 +00:00
Antony Dovgal
62e2021305 fix tests 2009-03-01 21:26:54 +00:00
Antony Dovgal
64003cd352 fix test 2009-01-28 12:58:59 +00:00
Derick Rethans
4ca3fa7120 - Fixed tests?
#- Wondering why those are not in HEAD though...
2009-01-27 14:22:17 +00:00
Scott MacVicar
8e11f40093 Fix tests 2009-01-27 14:16:15 +00:00
Derick Rethans
fb183b1777 - MFH: Elevate no-tz set warning from E_STRICT to E_WARNING.
#- [DOC]
2009-01-27 13:48:10 +00:00
andy wharmby
023db07910 New date tests for getdate() and gmstrftime(). Tested on WIndows, Linux and Linux 64 bit 2009-01-22 18:47:46 +00:00
andy wharmby
0d4228940c New basic time()and microtime() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-22 14:11:08 +00:00
andy wharmby
c70c7ca7f9 Fix test after #46732 fix. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 13:50:45 +00:00
Sanjay Mantoor
5b75dd317f New testcases for strftime function 2009-01-21 10:51:04 +00:00
Antony Dovgal
ad0935cd47 fix typo 2009-01-14 16:32:41 +00:00
andy wharmby
c1bf1627dd 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:28:18 +00:00
andy wharmby
f52ad63dfb Fix new date tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 23:08:03 +00:00
andy wharmby
cb9476027c New date extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 13:38:19 +00:00
Scott MacVicar
a9e5e22275 If a TZ environmental is set then it ends up getting used instead of the INI setting, use date_default_timezone_set() instead. 2009-01-10 00:50:45 +00:00
Sanjay Mantoor
49a6cc243e New testcases for localtime function 2009-01-09 05:09:40 +00:00
Derick Rethans
e5491af3c5 - MFH: Fixed bug #46268 (DateTime::modify() does not reset relative time
values).
2008-12-18 20:32:23 +00:00
Johannes Schlüter
e23b2b3fa5 MFH (Use the same test fiel as in HEAD) 2008-12-13 22:23:29 +00:00
Sanjay Mantoor
fb6ae89566 New testcases for idate function 2008-12-08 10:48:22 +00:00
Derick Rethans
7a28b876e4 - MFH: Fixed bug #46732 (mktime.year description is wrong). 2008-12-02 18:02:16 +00:00
Sanjay Mantoor
db0376cf94 Fixed testcsae inputs so that test runs faster 2008-11-24 11:10:02 +00:00
Sanjay Mantoor
223c2d002e New testcases for gmmktime function 2008-11-21 06:22:58 +00:00
Sanjay Mantoor
ccef11d68f New testcases for gmdate function 2008-11-14 09:16:00 +00:00
Sanjay Mantoor
eb2e561bfe New testcases for date_sunset function 2008-11-10 07:12:00 +00:00
Sanjay Mantoor
42325f9d48 New testcases for date_sunrise function 2008-11-10 05:52:20 +00:00
Derick Rethans
1c08ae1c8e - MFH: Fixed an issue with the * format specifier for parsing from a
user-defined format.
2008-11-05 10:42:42 +00:00
Sanjay Mantoor
2ca0889e8c New testcases for gettimeofday function 2008-10-30 10:49:45 +00:00
Zoe Slattery
7902763a82 scottish time variation 2008-10-28 19:24:49 +00:00
Zoe Slattery
5fe0e9c5ed Committing test for till 2008-10-21 09:33:21 +00:00
Pierre Joye
5c7e2072c6 - [DOC] win's strftime does not support all posix formatting code and have some win specific rules see http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx for a complete list: split test for win32 and posix 2008-08-10 11:27:48 +00:00
Derick Rethans
833f96a2b3 - MFH: Fixed a bug that caused miscalculations with the "last <weekday> of <n>
month" relative time string.
2008-08-05 18:03:47 +00:00
Derick Rethans
b5e2564abf - MFH: Fixed a bug with the YYYY-MM format not resetting the day correctly.
- MFH: Fixed a bug in the DateTime->modify() methods, it would not use the
  advanced relative time strings.
- MFH: Fixed return values of all the modifying methods, they now properly
  return the object itself.
2008-07-30 18:00:44 +00:00
Dmitry Stogov
062daaf6a5 Fixed test 2008-07-29 12:17:19 +00:00
Derick Rethans
7537b5b6d7 - MFH: Fixed DateTime::setTimestamp() and added a test for it. 2008-07-27 19:10:23 +00:00
Antony Dovgal
15cb10c7e3 fix test 2008-07-24 07:32:28 +00:00
Derick Rethans
11f9cd84f7 - MFH: Fixed bug #43452 (strings containing a weekday, or a number plus weekday
behaved incorrect of the current day-of-week was the same as the one in the
  phrase).
2008-07-23 18:50:37 +00:00
Antony Dovgal
c31464c976 fix test 2008-07-23 09:49:18 +00:00
Derick Rethans
f279efa61e - MFH: Fixed one more test (on 32 bits) 2008-07-21 09:32:15 +00:00
Derick Rethans
96dedbfedb - MFH: fix test 2008-07-21 07:27:26 +00:00
Derick Rethans
f8050d525f - MFH: Fixed bug #45562 (Creating instance of DatePeriod crashes). 2008-07-20 20:58:51 +00:00
Dmitry Stogov
58e6e2b3d9 Fixed test 2008-07-20 15:56:28 +00:00
Derick Rethans
0ab7520dc0 - MFH: Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
different).
2008-07-16 15:41:01 +00:00
Derick Rethans
8d14c2b182 - MFH: Fixed tests. 2008-07-16 07:36:04 +00:00
Felipe Pena
8f8b51bc87 - Fixed test 2008-07-09 12:53:58 +00:00
Joe Orton
3ab1efefc4 - MFH: tweak test case to better trigger the (now-fixed) reference bugs 2008-07-09 08:37:29 +00:00
Derick Rethans
db2ed70a73 - MFH: Fixed bug #45459 (date_create_from_format() fails on DATE_RFC3339) by
allowing a few more format specifiers in date_create_from_format() /
  date_parse_from_format().
2008-07-08 20:25:28 +00:00
Derick Rethans
198746158f - MFH: Fixed memory leaks and segfaults, patch by Joe Orton.
- MFH: Fixed bug #45038 (Crash when using DateTimeZone object returned by
  Date::getTimezone).
2008-07-08 17:41:51 +00:00