Commit Graph

458 Commits

Author SHA1 Message Date
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
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +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
Derick Rethans
aea378c91c - MFH: Fixed bug #46889: Memory leak in strtotime(). 2008-12-18 14:55:36 +00:00
Ilia Alshanetsky
9c97213e0b Fix a small portion of memory leak in bug #46889 2008-12-17 21:32:29 +00:00
Johannes Schlüter
e23b2b3fa5 MFH (Use the same test fiel as in HEAD) 2008-12-13 22:23:29 +00:00
Pierre Joye
9d6e793b4b - MFH: fix build (was never used like that before recent commit to session) > local include use quotes not <> 2008-12-11 13:12:22 +00:00
Pierre Joye
ef3ec02f6f - MFH: silent conversion warnings as it is not going to be "fixed" any time soon, removing false positive alerts. noise--; 2008-12-09 14:28:54 +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
Etienne Kneuss
3919b16f04 MFH: Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 02:00:53 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +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
f2720ecc34 - MFH: Export DateTime and DateTimeZone class entries so that external
extensions can make use of it as well.
2008-11-06 09:45:58 +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
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +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
Derick Rethans
e40786ca1b - Updated to version 2008.9 (2008i) 2008-10-28 08:17:33 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
1d5ba8bb21 MFH: initialize optional vars 2008-10-21 23:39:15 +00:00
Zoe Slattery
5fe0e9c5ed Committing test for till 2008-10-21 09:33:21 +00:00
Derick Rethans
8f8f18bc18 - Updated to version 2008.8 (2008h) 2008-10-13 11:45:39 +00:00
Derick Rethans
642f5cffd4 - Updated to version 2008.7 (2008g) 2008-10-06 14:27:41 +00:00
Derick Rethans
77ba4c0e07 - Updated to version 2008.6 (2008f) 2008-09-15 18:02:58 +00:00
Derick Rethans
e3cd394979 - MFH: Support for "back of <hour>" and "front of <hour>" phrases that are used
in Scotland.
2008-08-29 12:01:57 +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
Antony Dovgal
3b7051bea2 MFH: do not fail & segfault if malloc(0) returns NULL, that's expected 2008-08-09 22:01:08 +00:00
Etienne Kneuss
c77ca4c34a MFH: Fix error_handling usage in various extensions 2008-08-08 22:07:07 +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
ad10607c33 - MFH: Fixed bug #45696 (Not all DateTime methods allow method chaining). 2008-08-03 16:45:15 +00:00
Pierre Joye
20e75d80a7 - MFH: improve previous fix for scan, disable optimizer only for scan() using #pragma optimize 2008-08-02 16:50:35 +00:00
Pierre Joye
b6d64cde15 - MFH: parser's scan function is too large for VC6-7.x, disable the optimizer (size optimization instead) fixes it 2008-08-02 15:49:37 +00:00
Derick Rethans
4591f12d9f - MFH: Fixed bug #45545 (DateInterval has a limitation of 4 chars for ISO
durations).
2008-08-02 13:50:52 +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
Jani Taskinen
769400ea83 MFH:ws 2008-07-30 08:18:05 +00:00
Dmitry Stogov
cbf2df4d19 Fixed memory leak 2008-07-29 12:56:52 +00:00
Dmitry Stogov
062daaf6a5 Fixed test 2008-07-29 12:17:19 +00:00
Derick Rethans
1c8055a4ff - Updated to version 2008.5 (2008e) 2008-07-28 19:31:44 +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
07c9bd8382 - MFH: Fixed an issue with "first <weekday> of" in case the first <weekday> was
the same day-of-week as the first day of the month.
2008-07-23 19:53:39 +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