Commit Graph

13 Commits

Author SHA1 Message Date
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
Derick Rethans
7b581f6d19 - MFH: Merged new timelib, which is a bit more cleverer
- MFH: Support "UTC" in strtotime() properly.
- MFH: Added astro code, which is going to form the base for the new sunfuncs.
2005-12-19 13:00:37 +00:00
foobar
1c667a88e7 MFH 2005-10-03 20:21:02 +00:00
foobar
71d28a82cf - Fixed stupid bug in PHP_INSTALL_HEADERS() macro: "foo bar" != foo bar
- ext/date/lib/timelib_config.h is also installed now
2005-07-07 23:18:22 +00:00
Derick Rethans
33218e6b24 - Make the Netware guys happy by removing the config.nw.h define. 2005-06-30 06:40:57 +00:00
foobar
174e96246b Install headers too 2005-06-19 23:36:18 +00:00
Derick Rethans
f4de039522 - Rename tl_config.h to timelib_config.h 2005-06-17 12:03:04 +00:00
foobar
a736f99e2f - Improve portability.
# TODO: The standalone lib needs it's own build stuff, pretty much same as
#       Zend has for standalone builds.
2005-06-16 23:12:10 +00:00
foobar
ab285a85fd Fix VPATH build (again) 2005-06-16 21:23:16 +00:00
Derick Rethans
c53cdf6dd8 - Added include dir. 2005-06-16 18:15:30 +00:00
Derick Rethans
4ad939be1b - Rename "datetime.c" and "datetime.h" to "timelib.c" and "timelib.h" to
prevent duplicate header names.
2005-06-16 17:12:41 +00:00
foobar
32b3d10174 fix VPATH builds + nuked unnecessary lines 2005-06-14 22:50:55 +00:00
Derick Rethans
4fb4cac65c - Add my new timelib and ext/date. For now only strtotime() makes use of this. 2005-06-14 21:32:29 +00:00