path: root/ext/date/lib/timelib.c
AgeCommit message (Collapse)AuthorFilesLines
2010-11-13- Don't show timezone if it wasn't found while parsing.Derick Rethans1-2/+0
2010-08-30- Fixed bug #52668 (Iterating over a dateperiod twice is broken).Derick Rethans1-0/+13
2010-01-03sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann1-1/+1
2008-12-31MFH: Bump copyright year, 3 of 3.Sebastian Bergmann1-1/+1
2008-12-17Fix a small portion of memory leak in bug #46889Ilia Alshanetsky1-0/+1
2008-05-04- MFH: Added support for "<xth> <weekday of" and "last <weekday> of" phrases toDerick Rethans1-0/+6
be used with months - like in "last saturday of februari 2008".
2008-05-01- MFH: Rearranged some structures to allow for more powerfull period/intervals.Derick Rethans1-9/+9
2008-05-01- MFH: Added the DatePeriod class/iterator that iterates over a date timeDerick Rethans1-0/+7
object for a specific number of iterators and applies a DateInterval each time. @DOC: More will follow though
2008-04-25- Added new date/time functionality:Derick Rethans1-0/+31
. 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-02-03- MFH: Support "first/last day of <month>" style texts.Derick Rethans1-0/+10
2007-12-31MFH: Bump copyright year, 2 of 2.Sebastian Bergmann1-1/+1
2007-07-20MFH: fix warningsJani Taskinen1-2/+2
2007-07-13- MFH: Let's always use the macro as llabs() requires c99.Derick Rethans1-5/+1
2007-07-13MFH: use macro - llabs not always available on win32Rob Richards1-1/+7
2007-07-12- MFH: Fixed bug #41964 (strtotime returns a timestamp for non-time string ofDerick Rethans1-2/+2
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-01-01MFH: Bump year.Sebastian Bergmann1-1/+1
2006-05-14MFH:Derick Rethans1-0/+7
- Implemented Dmitry's const patch. - Added support for "weekday" as relative item. - Fixed bug #37368 (Incorrect timestamp returned for strtotime()).
2006-04-11- MFH: Fixed bug #37017 (strtotime fails before 13:00:00 with some time zonesDerick Rethans1-0/+15
identifiers). (Derick) - MFH: Fixed bug #36988 (mktime freezes on long numbers). (Derick) - MFH: Implemented better error and warning handling that is also used for the date_parse() function. - MFH: Fixed problems with "T" in front of a time string was seen as a time zone string. - MFH: Fixed a problem were 5 and 6 character timezone abbreviations where not correctly parsed. Experimental support (All MFH): - Added the date_parse() function that returns a parsed date/time string including warnings and errors. - Added the timezone_name_from_abbr() function that exposes the guessing mechanism that tries to find a timezone identifier from a timezone abbreviation and GMT offset.
2006-01-01bump year and license versionfoobar1-3/+3
2005-12-19- MFH: Merged new timelib, which is a bit more clevererDerick Rethans1-0/+8
- MFH: Support "UTC" in strtotime() properly. - MFH: Added astro code, which is going to form the base for the new sunfuncs.
2005-10-19- Fixed bug #34874 and #33546 (Problems with lone daynames).Derick Rethans1-1/+1
2005-08-03- Bumber up yearfoobar1-1/+1
2005-07-05- Change memory management so that tzinfo structures can live outside timeDerick Rethans1-4/+0
structures too.
2005-06-29- Reorganize headers, and update TODO.Derick Rethans1-3/+0
2005-06-17- The incoming TS is GMT... but the hole filler wants local time so weDerick Rethans1-1/+1
have to convert it. - Change e-mail address
2005-06-17- Rename tl_config.h to timelib_config.hDerick Rethans1-1/+1
2005-06-16- Improve portability.foobar1-0/+2
# TODO: The standalone lib needs it's own build stuff, pretty much same as # Zend has for standalone builds.
2005-06-16- Rename "datetime.c" and "datetime.h" to "timelib.c" and "timelib.h" toDerick Rethans1-0/+193
prevent duplicate header names.