Derick Rethans
83e9d1c253
- Updated to version 2009.1 (2009a)
2009-01-21 15:24:58 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Derick Rethans
ad6f6c9a52
- Fixed bug #46889 : Memory leak in strtotime().
2008-12-18 14:54:51 +00:00
Ilia Alshanetsky
84ab9aa404
MFB: Fix a small portion of memory leak in bug #46889
2008-12-17 21:32:40 +00:00
Pierre Joye
81b283cc38
- fix build (was never used like that before recent commit to session) > local include use quotes not <>
...
(nb: please test before commit)
2008-12-11 13:11:56 +00:00
Derick Rethans
e15cb4df3f
- Fixed an issue with the * format specifier for parsing from a user-defined
...
format.
2008-11-05 10:41:48 +00:00
Derick Rethans
5d5215c49c
- Updated to version 2008.9 (2008i)
2008-10-28 08:17:19 +00:00
Derick Rethans
7dd5608d9d
- Updated to version 2008.8 (2008h)
2008-10-13 11:45:32 +00:00
Derick Rethans
00ac4cac45
- Updated to version 2008.7 (2008g)
2008-10-06 14:27:33 +00:00
Derick Rethans
397dc60971
- Updated to version 2008.6 (2008f)
2008-09-15 18:02:49 +00:00
Derick Rethans
9cd469b655
- Updated to version
...
Notice: Undefined offset: 1 in Command line code on line 1
Call Stack:
0.0002 660592 1. {main}() Command line code:0
.
Notice: Undefined offset: 2 in Command line code on line 1
Call Stack:
0.0002 660592 1. {main}() Command line code:0
-96 ()
2008-09-15 18:00:59 +00:00
Derick Rethans
be1daa2ba9
- Support for the Scottish "back of" and "front of" hour phrases.
2008-08-29 11:59:23 +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
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
Pierre Joye
c8a42610e5
- improve previous fix for scan, disable optimizer only for scan() using #pragma optimize
2008-08-02 16:49:56 +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
Derick Rethans
0da9bc904d
- Updated to version 2008.5 (2008e)
2008-07-28 19:31: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
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
b9c97d72a8
- Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
...
different).
2008-07-16 15:40:01 +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
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
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
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
bbdb2416d0
- Updated to version 2008.4 (2008d)
2008-07-07 14:36:11 +00:00
Derick Rethans
02a5dc7764
- Updated to version 2008.3 (2008c)
2008-05-27 12:19:47 +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
4d6933d254
- Fixed weekdays algorithm.
2008-05-03 10:03:21 +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
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
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
3954343162
- Fixing returned offset.
...
- Algorithm optimization.
2008-04-07 17:43:49 +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
ee6f62b1cb
- Updated to version 2008.1 (2008a)
2008-03-16 07:20:17 +00:00
Derick Rethans
cc07cc0bd9
- MF53: Fixed bug #44257 (timelib_tz_lookup_table must use float for
...
gmtoffset).
2008-03-13 16:00:18 +00:00
Derick Rethans
c7703dec10
- MF53: Added support for parsing date/time strings returned by MS SQL with strtotime().
2008-03-13 15:54:53 +00:00
Derick Rethans
3b3d13ea0a
- Added a few new separation specifiers.
...
- Added specifiers that can reset or default the y/m/d/h/i/s/tz values.
- Fixed a problem with parsing timezones as part of a format.
#- [DOC]: Added format specifiers.
2008-02-25 18:25:01 +00:00
Derick Rethans
4c1dd9079d
- Fixed bug #44216 (strftime segfaults on large negative value).
2008-02-22 17:48:31 +00:00
Derick Rethans
7f7c1c986e
- Fixed bug #44209 : strtotime doesn't support 64 bit timestamps.
2008-02-22 09:47:10 +00:00
Derick Rethans
93432884b2
- Fixed typoes.
2008-02-17 18:17:01 +00:00