Commit Graph

7 Commits

Author SHA1 Message Date
Derick Rethans
8ac4d1190a - 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
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
Hannes Magnusson
9373479cff MFH: Fix test 2008-01-01 14:35:31 +00:00
Hannes Magnusson
91b8c3b2b5 Fix tests
#We'll need to update these every year..
2007-01-05 15:21:45 +00:00
Antony Dovgal
97f0cf1208 fix test 2007-01-03 13:47:11 +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