Derick Rethans
0ab7520dc0
- MFH: Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
...
different).
2008-07-16 15:41:01 +00:00
Derick Rethans
8d14c2b182
- MFH: Fixed tests.
2008-07-16 07:36:04 +00:00
Felipe Pena
8f8b51bc87
- Fixed test
2008-07-09 12:53:58 +00:00
Joe Orton
3ab1efefc4
- MFH: tweak test case to better trigger the (now-fixed) reference bugs
2008-07-09 08:37:29 +00:00
Derick Rethans
db2ed70a73
- MFH: Fixed bug #45459 (date_create_from_format() fails on DATE_RFC3339) by
...
allowing a few more format specifiers in date_create_from_format() /
date_parse_from_format().
2008-07-08 20:25:28 +00:00
Derick Rethans
198746158f
- MFH: Fixed memory leaks and segfaults, patch by Joe Orton.
...
- MFH: Fixed bug #45038 (Crash when using DateTimeZone object returned by
Date::getTimezone).
2008-07-08 17:41:51 +00:00
Raghubansh Kumar
e70880d3b1
Committed for Felix De Vliegher, TestFest Task No: 123, Tested on RHEL5, WinXP
2008-06-17 13:14:45 +00:00
Raghubansh Kumar
0b5f3a1895
Committed for Felix De Vliegher, TestFest Task No: 122, Tested on RHEL5, WinXP
2008-06-17 13:14:19 +00:00
Antony Dovgal
4489851424
fix test
2008-04-29 07:26:46 +00:00
Derick Rethans
2047fa858c
- Added new date/time functionality:
...
. support for diffing date/times through date_diff() / DateTime::diff().
. added DateInterval class to represent the difference between two date/times.
. support for parsing ISO intervals for use with DateInterval.
. date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
interval to an existing date/time.
- MFH: Fixed bug #44742 (timezone_offset_get() causes segmentation faults).
2008-04-25 12:35:58 +00:00
Jani Taskinen
9646a59ac0
- Fix test.
2008-04-08 12:00:15 +00:00
Derick Rethans
e64dc309f9
- MFH: Fixed test cases.
2008-04-07 17:41:58 +00:00
Derick Rethans
ec5157fe01
- MFH: Fixed a bug in formatting timestamps when DST is active in the default
...
timezone.
2008-03-31 09:11:30 +00:00
Derick Rethans
f81134a9f2
- MFH: Fixed tests on 64bit platform.
2008-02-25 22:32:59 +00:00
Rasmus Lerdorf
7b307cc256
Typo
2008-01-31 21:36:40 +00:00
Rasmus Lerdorf
9687442341
These two tests both need a timezone
2008-01-31 21:03:32 +00:00
Derick Rethans
6878464e06
- MFH: Fixed bug #43960 (strtotime() returns timestamp in the future when given
...
a bogus string).
2008-01-29 20:10:24 +00:00
Derick Rethans
afd01152f4
- Fixed test case.
2008-01-28 21:00:14 +00:00
Derick Rethans
4b7f5f9630
- MFH: Fixed parsing of timezones
2008-01-27 22:16:48 +00:00
Derick Rethans
216d0cb0ff
- MFH: Added support for selectively listing timezone identifiers through
...
timezone_identifiers_list() / DateTimezone::listIdentifiers().
2008-01-27 17:29:14 +00:00
Nuno Lopes
89d271a7b0
fix test
2008-01-27 17:01:11 +00:00
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