Commit Graph

124 Commits

Author SHA1 Message Date
Derick Rethans
2d2552956c - Fixed bug #41599 (setTime() fails after modify() is used). 2008-01-17 20:59:10 +00:00
Derick Rethans
3d0797da2b - MFH: Fixed bug #43075 (Support 2007-11-01T24:00:00+00:00). 2008-01-17 20:45:08 +00:00
Derick Rethans
3fb0e425e0 - MFH: Fixed bug #43808 (date_create never fails (even when it should)). 2008-01-17 20:35:02 +00:00
Derick Rethans
2d4db6b8d6 - Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed
using a timestamp).
2008-01-17 19:59:00 +00:00
Derick Rethans
e549873c10 - MFH: Added support for abbreviation and offset based timezone specifiers for
DateTime::getOffset() and DateTime::getName().
- MFH: Fixed bug #43527 (DateTime created from a timestamp reports environment
  timezone).
- MFH: Fixed bug #42190 (Constructing DateTime with TimeZone Indicator
  invalidates DateTimeZone).
2008-01-17 18:49:45 +00:00
Hannes Magnusson
9373479cff MFH: Fix test 2008-01-01 14:35:31 +00:00
Antony Dovgal
31f9e63270 MFH 2007-11-08 11:39:40 +00:00
Antony Dovgal
77951494b7 MFH 2007-09-19 11:25:57 +00:00
Nuno Lopes
bb2ec1c790 fix test, particularly when running with valgrind, bacause it may take more than one second to execute both instructions and thus get different dates 2007-09-13 19:58:26 +00:00
Derick Rethans
4b64dbb9a1 - MFH: Fixed bug #41964 (strtotime returns a timestamp for non-time string of
pattern '(A|a) .+').
- MFH: Fixed bug #41844 (Format returns incorrect number of digits for negative
  years -0001 to -0999).
- MFH: Fixed bug #41842 (Cannot create years < 0100 & negative years with
  date_create or new DateTime).
- MFH: Fixed bug #41709 (strtotime() does not handle 00.00.0000).
- MFH: Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as
  1999-11-30).
2007-07-12 18:58:00 +00:00
Derick Rethans
2e18eb3858 - Fixed bug #39965 (Latitude and longitude are backwards in date_sun_info()). 2007-04-13 08:33:48 +00:00
Antony Dovgal
8d20caa848 minor improvement 2007-04-11 22:34:48 +00:00
Derick Rethans
b15cbf69c6 - MFH: Fixed bug #40861 (strtotime() doesn't handle double negative relative
time units correctly).
2007-04-11 14:37:42 +00:00
Ilia Alshanetsky
57a88f71d5 Added -- test case 2007-03-22 23:34:14 +00:00
Ilia Alshanetsky
5abffb51b6 Fixed bug #40861 (Multiple +/- on relative units breaks strtotime()). 2007-03-21 00:25:55 +00:00
Antony Dovgal
c9ded196b4 fix tests 2007-03-09 09:45:14 +00:00
Hannes Magnusson
a688c62f57 Use relative timestamp
#Thanks Nuno :)
2007-01-07 07:58:28 +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
46e5e63f94 MFH 2007-01-03 13:48:54 +00:00
Antony Dovgal
97f0cf1208 fix test 2007-01-03 13:47:11 +00:00
Antony Dovgal
fb18a8e760 more tests 2006-12-22 13:07:53 +00:00
Ilia Alshanetsky
2f291233e6 Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday
yields incorrect results).
2006-12-11 21:04:40 +00:00
Nuno Lopes
5737b1e925 and add a test 2006-09-01 23:31:52 +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
Antony Dovgal
6112a1266a fix test 2006-08-02 23:29:17 +00:00
Michael Wallner
a5ddba6f80 - update test 2006-08-01 16:49:17 +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
Ilia Alshanetsky
af48ecfc87 Fixed bug #38229 (strtotime() does not parse YYYY-MM format). 2006-07-27 13:00:00 +00:00
Derick Rethans
150d058008 - MFH: Rename date classes to DateTime and DateTimeZone 2006-07-20 15:49:02 +00:00
Derick Rethans
d060a6e8a2 - MFH: Updated timezonedb to version 2006.7.
- MFH: Fixed test cases because of new constant values for the formats.
2006-07-04 18:13:58 +00:00
Antony Dovgal
6c37c9fa0a fix test on AIX and Solaris 2006-06-29 22:45:19 +00:00
Hannes Magnusson
1c530aa7cb Fix test on linux 2006-06-29 22:10:47 +00:00
Hannes Magnusson
3fd28953c6 mfh 2006-06-29 15:01:31 +00:00
Antony Dovgal
7dec2a7354 more tests 2006-06-27 15:55:06 +00:00
Antony Dovgal
5f024dcc16 more date() tests 2006-06-27 15:08:16 +00:00
Hannes Magnusson
c6080567e2 Fix test 2006-06-17 12:51:02 +00:00
Nuno Lopes
aa48814378 change the timezone used (per Derick request)
add one string I missed yesterday. Now every strotime() rule is covered
2006-06-17 10:30:23 +00:00
Nuno Lopes
ca6e1bbcda new tests. the .re file coverage increases to 96%. really good :) 2006-06-16 22:46:57 +00:00
Hannes Magnusson
50de3fd1ce MFH: fix test 2006-06-11 00:18:30 +00:00
Derick Rethans
ddd8fd3e3d - Fixed bug #37747 (strtotime segfaults when given "nextyear"). 2006-06-08 16:27:05 +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
9a9cd86f38 - Now as text and not HTML. 2006-05-30 13:14:51 +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
ab8329ec31 - Fixed bug #37514 (strtotime doesn't assume year correctly). 2006-05-19 14:52:30 +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
Antony Dovgal
d18cd00657 fix tests 2006-04-25 22:09:46 +00:00
Antony Dovgal
47cb31b7df add default timezone to the tests 2006-04-11 19:34:14 +00:00