Hannes Magnusson
0ce31d14f5
MFH: proots
2006-09-10 17:01:51 +00:00
Hannes Magnusson
b6a5941b97
MFH: date_timezone_set() needs both arguments
...
MFH: throw exception in DateTimeZone::__construct() when no arguments are passed
2006-09-10 16:34:08 +00:00
Nuno Lopes
4cff5db8f4
int->zend_bool where possible
2006-09-05 12:39:20 +00:00
Michael Wallner
eca5331a81
- attempt to fix #38696
2006-09-03 09:09:56 +00:00
Ilia Alshanetsky
d4ff427c55
Fixed bug #38511 , #38473 , #38263 (Fixed session extension request shutdown
...
order to ensure it is shutdown before the extensions it may depend on).
2006-08-22 16:47:23 +00:00
Michael Wallner
f5ea2dfac4
MFH:
...
- fix leak when cloning DateTimeZone, detected by Antony
- don't fetch objects multiple times when cloning
2006-08-15 06:53:21 +00:00
Michael Wallner
8657927354
MFH: add cloning support to DateTime classes
2006-08-14 20:03:11 +00:00
Michael Wallner
efa04c8a22
MFH: use library error message on time string parse failure
2006-08-01 16:45:40 +00:00
Michael Wallner
68613beb3e
MFH:
...
- fix leaks on multiple calls to DateTime::__construct()
- throw exception on unparseable time strings in DateTime::__construct()
2006-08-01 15:55:03 +00:00
Michael Wallner
5f7750c6e6
MFH:
...
- OO fixes:
. no is_ref for objects in PHP5+
. initialize objects when created with the `new` operator
. check for proper initialization in child classes
- fix typo: transistion -> transition
- add test
2006-08-01 13:28:28 +00:00
Hannes Magnusson
3ca96c8043
Fix DateTime::RSS
...
Update tests
2006-07-28 16:32:31 +00:00
Derick Rethans
150d058008
- MFH: Rename date classes to DateTime and DateTimeZone
2006-07-20 15:49:02 +00:00
Antony Dovgal
efe0314db6
break; break; -> break;
2006-07-20 07:20:23 +00:00
Derick Rethans
9ccbb28696
- Enable all new date functions and classes
2006-07-18 12:38:05 +00:00
Antony Dovgal
3113fa9440
MFH: initialize vars
2006-07-10 11:26:22 +00:00
Hannes Magnusson
7af33194e5
MFH: arginfo fixes
2006-07-02 00:11:06 +00:00
Nuno Lopes
29b0798cc8
revert per Derick request
2006-06-27 21:00:03 +00:00
Nuno Lopes
5c97837ca2
add a couple of static and const keywords, to let the compiler optimize better
...
will MFB in a hour, or so
2006-06-27 19:48:01 +00:00
Antony Dovgal
87dd729187
plug leak
2006-06-23 13:53:43 +00:00
Antony Dovgal
6ccc1d1fb5
MFH: add wrappers for timelib_day_of_week_ex()
2006-06-22 21:04:32 +00:00
Antony Dovgal
47b41a5d6c
MFH:
...
don't try to parse empty string, return false immediately
(fixes off-by-one)
2006-06-22 18:44:31 +00:00
Dmitry Stogov
1dbaae2795
Added automatic module globals management
2006-06-15 18:33:09 +00:00
Hannes Magnusson
dd2c03ca48
MFH: fix typo
2006-06-11 20:12:17 +00:00
Hannes Magnusson
3104233019
MFH: arginfo, protos, vim folding
2006-06-11 01:42:17 +00:00
Hannes Magnusson
91d4ef33ef
MFH: Play nice, use 4digit years in DATE_RSS
2006-05-30 15:14:22 +00:00
Hannes Magnusson
61fc424321
MFH: Fixed DATE_COOKIE, DATE_RSS & tests
2006-05-30 14:46:46 +00:00
Derick Rethans
fb92e33b5d
- MFH: Fixed bug #37616 : DATE_RFC822 does not product RFC 822 dates. (Patch by
...
Hannes Magnusson)
2006-05-30 13:12:21 +00:00
Derick Rethans
74dfa9f0ba
MFH:
...
- Implemented Dmitry's const patch.
- Added support for "weekday" as relative item.
- Fixed bug #37368 (Incorrect timestamp returned for strtotime()).
2006-05-14 17:36:05 +00:00
Rasmus Lerdorf
ed7ed1189b
This spelling mistake finally annoyed me enough to fix it.
2006-05-11 03:47:55 +00:00
Marcus Boerger
77c1b56cd7
- Update after api changes
2006-05-10 00:00:13 +00:00
Derick Rethans
4043f77e36
- MFH: Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones
...
identifiers). (Derick)
- MFH: Fixed bug #36988 (mktime freezes on long numbers). (Derick)
- MFH: Implemented better error and warning handling that is also used for the
date_parse() function.
- MFH: Fixed problems with "T" in front of a time string was seen as a time
zone string.
- MFH: Fixed a problem were 5 and 6 character timezone abbreviations where not
correctly parsed.
Experimental support (All MFH):
- Added the date_parse() function that returns a parsed date/time string
including warnings and errors.
- Added the timezone_name_from_abbr() function that exposes the guessing
mechanism that tries to find a timezone identifier from a timezone
abbreviation and GMT offset.
2006-04-11 18:03:52 +00:00
Antony Dovgal
59b8592c8c
fix bug #36898 (__set() leaks in classes extending internal ones)
...
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
to initialize and destroy zend_object structs
2006-03-29 14:28:43 +00:00
Antony Dovgal
91f4b380d6
fix several leaks in date_sun*() functions
2006-03-18 23:43:48 +00:00
Derick Rethans
5bfe560cab
- MFH: Fixed bug #36638 (strtotime() returns false when 2nd argument < 1).
...
(Derick)
2006-03-06 21:44:58 +00:00
Derick Rethans
22c501b016
- Fixed bug #36599 (DATE_W3C format constant incorrect).
2006-03-03 07:52:55 +00:00
Derick Rethans
0249f6b6b6
- MFH: Fixed bug #36224 (date(DATE_ATOM) gives wrong results).
2006-01-31 18:44:19 +00:00
Frank M. Kromann
80cc4867e3
Export symbols that will allow building WDDX as shared object
2006-01-28 06:18:01 +00:00
Derick Rethans
864004d4d7
- Enable date_sun_info() function.
2006-01-18 21:40:38 +00:00
Derick Rethans
88268c6bcc
- MFH: Fixed bug #35887 (wddx_deserialize not parsing dateTime fields properly).
...
- MFH: Fixed bug #35885 (strtotime("NOW") no longer works).
- MFH: Fixed bug #33789 (Many Problems with SunFuncs).
- MFH: Fixed bug #33671 (sun_rise and sun_set don't return a GMT timestamp if one
passes an offset).
- MFH: Fixed bug #32820 (date_sunrise and date_sunset don't handle GMT offset
well).
- MFH: Fixed bug #30937 (date_sunrise() & date_sunset() don't handle endless
day/night at high latitudes).
2006-01-04 21:31:35 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Derick Rethans
25aeeb5e25
- Fixed bug #35751 (using date with a timestamp makes httpd segfault).
2005-12-29 10:54:07 +00:00
Derick Rethans
48336bcd71
- This check is unnecessary, as it can only be set through the
...
date_default_timezone_set() function which checks the value already.
2005-12-20 19:58:44 +00:00
Derick Rethans
f0a0f89a2c
- MFH: Fixed bug #35660 (AIX TZ variable format not understood, yields UTC
...
timezone).
2005-12-20 19:54:10 +00:00
Derick Rethans
7b581f6d19
- MFH: Merged new timelib, which is a bit more cleverer
...
- MFH: Support "UTC" in strtotime() properly.
- MFH: Added astro code, which is going to form the base for the new sunfuncs.
2005-12-19 13:00:37 +00:00
foobar
06b36f7cea
MFH: nuke php3 legacy
2005-12-06 01:40:06 +00:00
Ilia Alshanetsky
937e9f801d
Fixed bug #35558 (mktime() interpreting 3 digit years incorrectly).
2005-12-05 17:27:02 +00:00
Ilia Alshanetsky
f4248e51a4
Fixed bug #35499 (strtotime() does not handle whitespace around the date
...
string).
2005-12-01 16:24:52 +00:00
Ilia Alshanetsky
ea80259eb3
Fixed ZTS build
2005-11-29 23:10:15 +00:00
Ilia Alshanetsky
6f5b9894a2
Added missing support for 'B' format identifier to date() function.
2005-11-29 20:43:53 +00:00
Ilia Alshanetsky
820b5aa9e4
Fixed bug #35425 (idate() function ignores timezone settings).
2005-11-29 20:19:56 +00:00