Commit Graph

418 Commits

Author SHA1 Message Date
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
Derick Rethans
02a5dc7764 - Updated to version 2008.3 (2008c) 2008-05-27 12:19:47 +00:00
Antony Dovgal
1db4d44c7b fix function signature and silence compile warning 2008-05-20 12:07:13 +00:00
Ilia Alshanetsky
5576983a3e MFB: kill unused vars 2008-05-07 23:46:11 +00:00
Derick Rethans
c070512ee4 - Added support for "<xth> <weekday of" and "last <weekday> of" phrases to be
used with months - like in "last saturday of februari 2008".
2008-05-04 20:50:46 +00:00
Derick Rethans
92975a6319 - Added support for using ISO 8601 time intervals to define a DatePeriod
iterator.
2008-05-04 09:59:42 +00:00
Derick Rethans
a49676e4f3 - Added support for using an end date to limit the amount of recursions
with the DatePeriod iterator.
2008-05-03 10:59:14 +00:00
Derick Rethans
4d6933d254 - Fixed weekdays algorithm. 2008-05-03 10:03:21 +00:00
Derick Rethans
7599f7384b - Fixed an issue in date() where a : was printed for the O modifier after a P
modifier was used.
2008-05-02 21:32:13 +00:00
Derick Rethans
2352d10de2 - Added DateInterval::createFromDateString() that creates an interval
from the relative parts of a date/time string.
- Fixed an issue where special relative bits were not applied.
#- @DOC
2008-05-02 12:48:19 +00:00
Derick Rethans
6205943023 - Rearranged some structures to allow for more powerfull period/intervals. 2008-05-01 16:14:29 +00:00
Derick Rethans
042867ecb8 - Include the starting date by default in the iterator output, but add an
option to disable this behavior.
2008-05-01 13:31:00 +00:00
Derick Rethans
b1960e2af3 - Added the DatePeriod class/iterator that iterates over a date time object
for a specific number of iterators and applies a DateInterval each time.
2008-05-01 00:10:25 +00:00
Antony Dovgal
9c2f3fc42c fix test 2008-04-29 07:26:39 +00:00
Scott MacVicar
455eeec4b9 MFH: Fix windows build 2008-04-28 13:26:50 +00:00
Derick Rethans
089bc254eb - Fixed "this week", "previous week"/"last week" and "next week" phrases by
actually meaning the week.
#- For now the week starts on Monday, but I plan on making that configurable.
2008-04-27 19:12:10 +00:00
Derick Rethans
64b888c0fa - MF53: 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.
2008-04-25 12:55:16 +00:00
Derick Rethans
62a4aff5f8 - MF52: Fixed bug #44703 (htmlspecialchars() does not detect bad character set
argument).
#- WIll merge to 5.3 later, that branch has some more modifications.
2008-04-16 17:24:00 +00:00
Jani Taskinen
6fa8f52e7d - fix test 2008-04-08 11:58:03 +00:00
Derick Rethans
3954343162 - Fixing returned offset.
- Algorithm optimization.
2008-04-07 17:43:49 +00:00
Derick Rethans
d3a0dbf991 - Fixed testcases. 2008-04-07 17:41:48 +00:00
Derick Rethans
08534e1bee - Fixed a bug in formatting timestamps when DST is active in the default
timezone.
2008-03-31 09:10:54 +00:00
Derick Rethans
38ffd11722 - Updated to version 2008.2 (2008b) 2008-03-24 13:00:24 +00:00
Ilia Alshanetsky
4743186f27 MFB: removed unused var 2008-03-23 15:49:51 +00:00
Derick Rethans
993eb05f5b - Fix the DateTimeZone::getTransitions() algorithm. 2008-03-20 19:43:02 +00:00
Ilia Alshanetsky
6cbde65afa MFB: Remove unused variable 2008-03-16 15:15:47 +00:00
Derick Rethans
ee6f62b1cb - Updated to version 2008.1 (2008a) 2008-03-16 07:20:17 +00:00
Felipe Pena
6779560ec5 Fix build (ZTS) 2008-03-14 17:57:44 +00:00