Commit Graph

445 Commits

Author SHA1 Message Date
Derick Rethans
be1daa2ba9 - Support for the Scottish "back of" and "front of" hour phrases. 2008-08-29 11:59:23 +00:00
Pierre Joye
c76de7966d - [DOC] win's strftime does not support all posix formatting code and have some win specific rules see http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx for a complete list: split test for win32 and posix 2008-08-10 11:27:26 +00:00
Antony Dovgal
83fa3f9874 do not fail & segfault if malloc(0) returns NULL, that's expected
(reproducible on AIX with simple date() and UTC timezone)
2008-08-09 22:00:51 +00:00
Antony Dovgal
34b4cfd5e5 fix leak 2008-08-09 21:58:40 +00:00
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Derick Rethans
7772d56fab - Fixed a bug that caused miscalculations with the "last <weekday> of <n>
month" relative time string.
2008-08-05 18:02:39 +00:00
Derick Rethans
d84a4ed4ab - Fixed bug #45696 (Not all DateTime methods allow method chaining). 2008-08-03 16:44:31 +00:00
Pierre Joye
c8a42610e5 - improve previous fix for scan, disable optimizer only for scan() using #pragma optimize 2008-08-02 16:49:56 +00:00
Pierre Joye
2317deb6f5 - parser's scan function is too large for VC6-7.x, disable the optimizer (size optimization instead) fixes it 2008-08-02 15:49:14 +00:00
Derick Rethans
2c577a4aaf - Fixed bug #45545 (DateInterval has a limitation of 4 chars for ISO
durations).
2008-08-02 13:50:30 +00:00
Derick Rethans
0ae51b159e - Fixed a bug with the YYYY-MM format not resetting the day correctly.
- Fixed a bug in the DateTime->modify() methods, it would not use the advanced
  relative time strings.
- Fixed return values of all the modifying methods, they now properly return
  the object itself.
2008-07-30 17:48:21 +00:00
Jani Taskinen
357c16c598 ws 2008-07-30 08:13:02 +00:00
Dmitry Stogov
fbb84e37d8 Fixed memory leak 2008-07-29 12:56:18 +00:00
Dmitry Stogov
7129a70051 Fixed test 2008-07-29 12:17:04 +00:00
Derick Rethans
0da9bc904d - Updated to version 2008.5 (2008e) 2008-07-28 19:31:21 +00:00
Derick Rethans
d4210b7a4a - Fixed DateTime::setTimestamp() and added a test for it. 2008-07-27 19:09:37 +00:00
Antony Dovgal
e6ae49ca17 fix test 2008-07-24 07:32:21 +00:00
Derick Rethans
e68b8af578 - Fixed an issue with "first <weekday> of" in case the first <weekday> was the
same day-of-week as the first day of the month.
2008-07-23 19:52:51 +00:00
Derick Rethans
5ddf492cfc - Fixed bug #43452 (strings containing a weekday, or a number plus weekday
behaved incorrect of the current day-of-week was the same as the one in the
  phrase). (Derick)
2008-07-23 18:49:37 +00:00
Antony Dovgal
523f696954 fix test 2008-07-23 09:49:11 +00:00
Derick Rethans
5738a0fcee - Fixed test. 2008-07-21 07:27:16 +00:00
Derick Rethans
ef9203a37e - Added test case to HEAD too. 2008-07-20 20:59:08 +00:00
Derick Rethans
e8803bb0ff - Fixed bug #45562 (Creating instance of DatePeriod crashes). 2008-07-20 20:58:35 +00:00
Derick Rethans
18a53456d3 - Country codes are ISO 3166. 2008-07-19 17:38:15 +00:00
Derick Rethans
998bd9d485 - Added support for selectively listing timezone identifiers by country code
through timezone_identifiers_list() / DateTimezone::listIdentifiers().
- Added timezone_location_get() / DateTimezone::getLocation() for retrieving
  location information from timezones.
2008-07-18 14:33:27 +00:00
Derick Rethans
aebf9395fe - Updated to version 2008.4.1 (2008d) 2008-07-18 13:45:58 +00:00
Derick Rethans
6edc71fc59 - Updated to version 2008.4 (2008d) 2008-07-18 13:44:34 +00:00
Derick Rethans
9c6a9c6460 - Added missing test-file. 2008-07-16 15:42:13 +00:00
Derick Rethans
b9c97d72a8 - Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
different).
2008-07-16 15:40:01 +00:00
Derick Rethans
5871211091 - MF53: Fixed segfault. 2008-07-16 12:35:45 +00:00
Derick Rethans
ae2c8698ac - Fixed tests. 2008-07-16 07:35:56 +00:00
Derick Rethans
89af1000b2 - Also add the warnings for times. This does not make sense for the english
text parser, as invalid times are never allowed in there.
2008-07-15 17:37:33 +00:00
Derick Rethans
d681181892 - Fixed reversed logic. 2008-07-14 17:38:19 +00:00
Derick Rethans
e1787110f1 - Added a warning to the error struct in case a parsed-date was found to be
invalid.
2008-07-14 17:30:09 +00:00
Derick Rethans
0e86197822 - Fixed a compiler warning - the code didn't make much sense. 2008-07-11 08:42:11 +00:00
Felipe Pena
96593efd3b - Fixed test 2008-07-09 13:00:00 +00:00
Felipe Pena
83a2c2f87c - MFB: Added arginfo 2008-07-09 12:51:26 +00:00
Joe Orton
28d3a9ef33 - tweak test case to better trigger the (now-fixed) reference bugs 2008-07-09 08:29:55 +00:00
Derick Rethans
b30cdcd5a7 - 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:23:38 +00:00
Derick Rethans
d5bc2d0682 - Fixed a memleak (Original patch by Hannes Magnusson). 2008-07-08 19:29:06 +00:00
Derick Rethans
3042898466 - Fixed some ambiguities in the date parser. 2008-07-08 18:27:07 +00:00
Derick Rethans
a339c57e1d - Replaced // by /* .. */ comments. 2008-07-08 17:56:36 +00:00
Derick Rethans
698b0f818f - Fixed memory leaks and segfaults, patch by Joe Orton.
- Fixed bug #45038 (Crash when using DateTimeZone object returned by
  Date::getTimezone).
2008-07-08 17:40:35 +00:00
Derick Rethans
bbdb2416d0 - Updated to version 2008.4 (2008d) 2008-07-07 14:36:11 +00:00
Raghubansh Kumar
9d2cea0d4e Committed for Felix De Vliegher, TestFest Task No: 123, Tested on RHEL5-32bit, WinXP 2008-06-17 13:18:08 +00:00
Raghubansh Kumar
d26c78a2dd Committed for Felix De Vliegher, TestFest Task No: 122, Tested on RHEL5, WinXP 2008-06-17 13:17:15 +00:00
Antony Dovgal
a9ebb2170b fix ZTS build 2008-06-07 22:41:02 +00:00
Henrique do Nascimento Angelo
f97aeaa334 Update tests to conform with the unicode functions 2008-06-07 20:33:35 +00:00
Henrique do Nascimento Angelo
15b3e07f5a Add Unicode support and set as unicode compatible 2008-06-07 20:30:30 +00:00
Steph Fox
4be7f4aecd - killed off UEXPECT
- com_dotnet gets a .cvsignore
- Ulf will take care of mysql extensions, rest complete
2008-05-27 18:16:04 +00:00