Commit Graph

339 Commits

Author SHA1 Message Date
Antony Dovgal
2d5ff6a7b0 add missing TSRMLS_CC and fix segfaults in ZTS mode 2008-01-23 15:14:18 +00:00
Derick Rethans
cd9bc73574 - Fixed bug #41599 (setTime() fails after modify() is used). 2008-01-17 20:58:26 +00:00
Derick Rethans
13d1ef3015 - Fixed bug #43075 (Support 2007-11-01T24:00:00+00:00). 2008-01-17 20:43:58 +00:00
Derick Rethans
19af2f67d1 - Fixed bug #43808 (date_create never fails (even when it should)). 2008-01-17 20:34:17 +00:00
Derick Rethans
da0da918c0 - Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed
using a timestamp).
2008-01-17 19:58:24 +00:00
Derick Rethans
64c498bddd - Added support for abbreviation and offset based timezone specifiers for
DateTime::getOffset() and DateTime::getName().
- Fixed bug #43527 (DateTime created from a timestamp reports environment
  timezone).
- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator invalidates
  DateTimeZone).
2008-01-17 18:48:44 +00:00
Derick Rethans
c52fda6aae - Fixed TSRM builds.
#- Thanks for the hint Steph.
2008-01-13 18:42:51 +00:00
Derick Rethans
6be4825777 - MF53: Added new date/time functionality:
* date_parse_from_format(): Parse date/time strings according to a format.
  * date_create_from_format()/DateTime::createFromFormat(): Create a date/time
    object by parsing a date/time string according to a given format.
  * date_get_last_errors()/DateTime::getLastErrors(): Return a list of warnings
    and errors that were found while parsing a date/time string through:
    - strtotime() / new DateTime
    - date_create_from_format() / DateTime::createFromFormat()
    - date_parse_from_format()
2008-01-13 15:16:48 +00:00
Derick Rethans
6973393112 - Updated to version 2007.11 2008-01-01 15:31:43 +00:00
Hannes Magnusson
d3cb66967f Fix test 2008-01-01 14:35:26 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Scott MacVicar
b03ba567d8 MFB: Change createFromTimestamp to setTimestamp 2007-12-14 14:52:38 +00:00
Scott MacVicar
feaa1ba014 - Add Datetime::createFromTimestamp to allow setting of a unix timestamp without invoking the date parser. 2007-12-14 14:27:18 +00:00
Derick Rethans
7b19ae3023 - Updated to version 2007.10 2007-12-03 15:16:21 +00:00
Ilia Alshanetsky
e02a63c98c MFB: Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone) 2007-11-23 00:15:37 +00:00
Antony Dovgal
ea324b63c0 fix test 2007-11-08 11:39:10 +00:00
Derick Rethans
5a4e6c233f - Updated to version 2007.9 2007-11-05 09:24:17 +00:00
Derick Rethans
9e67f64a00 - Updated to version 2007.8 2007-10-11 18:35:04 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Antony Dovgal
8df615e0d6 fix test name 2007-09-19 11:25:51 +00:00
Nuno Lopes
ba8461c0a0 MFB 2007-09-13 19:58:53 +00:00
Antony Dovgal
a2d6d5fbb2 detect endianness in compile time when using Apple's GCC (fixes universal binary build) 2007-09-04 18:46:08 +00:00
Derick Rethans
14df6eb975 - Ugh, fix this properly. 2007-09-03 12:12:51 +00:00
Derick Rethans
cf0e879870 - Fixed DateTimeZone::getTransitions(). 2007-09-03 12:03:46 +00:00
Jani Taskinen
5c0df4eb38 - Fix warnings 2007-07-20 23:53:29 +00:00
Derick Rethans
56828aba9a - Let's always use the macro as llabs() requires c99. 2007-07-13 17:49:18 +00:00
Dmitry Stogov
e76b7240a1 Unicode support 2007-07-13 15:22:34 +00:00
Rob Richards
982967b637 use macro - llabs not always available on win32 2007-07-13 12:48:47 +00:00
Derick Rethans
b49f733c6a - Commit generated file. 2007-07-12 18:59:35 +00:00
Derick Rethans
d43b79f12b - Missing file in commit. 2007-07-12 18:58:48 +00:00
Derick Rethans
1e096be0b3 - Fixed bug #41964 (strtotime returns a timestamp for non-time string of
pattern '(A|a) .+').
- Fixed bug #41844 (Format returns incorrect number of digits for negative
  years -0001 to -0999).
- Fixed bug #41842 (Cannot create years < 0100 & negative years with
  date_create or new DateTime).
- Fixed bug #41709 (strtotime() does not handle 00.00.0000).
- Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30).
2007-07-12 18:56:42 +00:00
Dmitry Stogov
be7c087da5 Fixed test 2007-07-10 07:29:06 +00:00
Derick Rethans
ee6242887c - Updated to 2007f. 2007-07-05 13:48:23 +00:00
Ilia Alshanetsky
254827fbb7 MFB: Final shot at the date issue 2007-06-07 23:16:41 +00:00
Antony Dovgal
a9f6f71460 check return value of *time_r() functions for NULL
more checks will follow
2007-06-07 08:46:32 +00:00
Ilia Alshanetsky
26255ddf1a Fixed typo 2007-06-07 02:21:55 +00:00
Ilia Alshanetsky
2d13cd37be MFB: Adjust previous patch to work on all compilers 2007-06-06 23:16:45 +00:00
Ilia Alshanetsky
da635f2b98 MFB: Optimize out a loop 2007-06-06 22:58:53 +00:00
Antony Dovgal
edb8190a95 fix tests 2007-04-20 20:57:57 +00:00
Antony Dovgal
fe2cd52ac1 fix timezone_abbreviations_list() in unicode mode 2007-04-20 20:55:30 +00:00
Derick Rethans
916e90c9e2 - MFB: Updated timezone database to version 2007.5. (Derick) 2007-04-13 14:52:06 +00:00
Derick Rethans
a843b46454 - MFB: Fixed bug #39416 (Milliseconds in date()). 2007-04-13 14:10:38 +00:00
Derick Rethans
59fcb5299d - MFB: Fixed bug #39965 (Latitude and longitude are backwards in date_sun_info()). 2007-04-13 08:34:11 +00:00
Derick Rethans
3eef99f6cd - MFB: Fixed bug #40290 (strtotime() returns unexpected result with particular
timezone offset).
2007-04-13 08:11:35 +00:00
Antony Dovgal
8957f06763 MFB 2007-04-11 22:35:25 +00:00
Derick Rethans
e9f77bb7e5 - Fixed bug #40861 (strtotime() doesn't handle double negative relative time
units correctly).
2007-04-11 14:36:45 +00:00
Derick Rethans
d184a4f9c3 - MF52: Updated timezone database to version 2007.3. 2007-03-06 21:29:33 +00:00
Michael Wallner
d431a16629 - fix ws as requested by derick 2007-03-05 14:10:05 +00:00
Michael Wallner
75383d4658 - fix bug #40691: add comparison object handler 2007-03-05 14:05:31 +00:00