Nuno Lopes
0f6f089698
omg. take #2 to fix the bug. sorry..
2006-09-01 23:25:29 +00:00
Nuno Lopes
c8b2f761f6
fix possible crash
2006-09-01 23:13:20 +00:00
Antony Dovgal
5e93a7df9a
eliminate compile warnings
2006-07-11 12:37:00 +00:00
Nuno Lopes
29b0798cc8
revert per Derick request
2006-06-27 21:00:03 +00:00
Nuno Lopes
5c97837ca2
add a couple of static and const keywords, to let the compiler optimize better
...
will MFB in a hour, or so
2006-06-27 19:48:01 +00:00
Derick Rethans
74dfa9f0ba
MFH:
...
- Implemented Dmitry's const patch.
- Added support for "weekday" as relative item.
- Fixed bug #37368 (Incorrect timestamp returned for strtotime()).
2006-05-14 17:36:05 +00:00
Antony Dovgal
91f4b380d6
fix several leaks in date_sun*() functions
2006-03-18 23:43:48 +00:00
Derick Rethans
88268c6bcc
- MFH: Fixed bug #35887 (wddx_deserialize not parsing dateTime fields properly).
...
- MFH: Fixed bug #35885 (strtotime("NOW") no longer works).
- MFH: Fixed bug #33789 (Many Problems with SunFuncs).
- MFH: Fixed bug #33671 (sun_rise and sun_set don't return a GMT timestamp if one
passes an offset).
- MFH: Fixed bug #32820 (date_sunrise and date_sunset don't handle GMT offset
well).
- MFH: Fixed bug #30937 (date_sunrise() & date_sunset() don't handle endless
day/night at high latitudes).
2006-01-04 21:31:35 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Derick Rethans
f0a0f89a2c
- MFH: Fixed bug #35660 (AIX TZ variable format not understood, yields UTC
...
timezone).
2005-12-20 19:54:10 +00:00
Derick Rethans
afccca77dd
- MFH: Allow an external Timezone Database to be used.
2005-10-03 11:17:28 +00:00
Derick Rethans
9057102e6e
- MFH: Fixed bug #33414 (Comprehensive list of incorrect days returned after
...
strtotime() / date() tests).
2005-09-01 12:42:39 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Derick Rethans
e6c1ff254d
- Fixed bug #33578 (strtotime() problem with "Oct17" format).
...
- Fixed problems with lone years in strtotime().
- Added functions to timelib to get a list of all abbreviations and timezone
identifiers.
- Fixed problems with parsed dates that only have GMT offsets associated
with them.
- Fixed a Windows compile problem.
- Added special constants for different often used date formats (DATE_ISO8601,
DATE_RFC822, DATE_RSS etc).
- Fixed date_default_timezone_get() to return the guessed timezone if none
was set yet with date_default_timezone_set().
- Added experimental support for Date/Timezone objects as per specifications.
2005-07-20 08:31:02 +00:00
Derick Rethans
34c4ac7bac
- Fixed unintialized variable issue.
2005-07-03 18:49:07 +00:00
Derick Rethans
e155585e6e
- Reimplemented date and gmdate with new timelib code.
...
- Removed old date/gmdate implementations.
- Moved date() related testcases to ext/date/tests.
- Implemented bug #33452 .
- Fixed testcase for bug #27719 - there is no timezone called "EST5DST".
2005-06-30 21:38:06 +00:00
Derick Rethans
e4860af785
- Reorganize headers, and update TODO.
2005-06-29 19:08:26 +00:00
Derick Rethans
7e58c96022
- Fixed bug #33415 and added test cases for #33414 and #33415 .
2005-06-28 21:37:36 +00:00
Derick Rethans
28e76fe7f4
- Implemented binary search for timezone abbreviations and timezone identifier
...
lookups. (Based on a patch by Nuno Lopes)
2005-06-28 17:56:47 +00:00
Derick Rethans
610fd92ee7
- Make this work on big endian systems too.
...
- Added an additional malloc() check.
2005-06-20 11:07:53 +00:00
Derick Rethans
9f2283b8a0
- Fixed bug in tm2unixtime where the wanted date was in the transition time
...
between two zones.
#- In this case the wanted date actually didn't exist, and that wasn't
# handled correctly.
2005-06-18 19:23:58 +00:00
Derick Rethans
3ad7c1ad4a
- If the ts is smaller than the first transition time, use the last one
...
in the list.
#- This seems consistent with how "zdump" works, although I'm not 100% sure if
# it's correct.
2005-06-18 11:58:18 +00:00
Derick Rethans
30efc9f68e
- Fixed a problem where the timestamp we are looking up a TZ info structure for
...
was in the last record in the tz database.
- Fixed problem in test case.
2005-06-18 11:15:29 +00:00
Derick Rethans
c41145799d
- The incoming TS is GMT... but the hole filler wants local time so we
...
have to convert it.
- Change e-mail address
2005-06-17 14:54:00 +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
Derick Rethans
ca16776087
- Fixed headers for FreeBSD
...
- Moved from ntohl to own macro
- Export timelib_dump_tzinfo
2005-06-16 18:34:42 +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
Derick Rethans
eb8b4fd4a1
- Make it compile cleanly with MS VC++ too, which is completely anal in some
...
cases.
2005-06-15 11:01:07 +00:00
Edin Kadribasic
cc33e8f536
Nuke PHP_ prefix from timelib
2005-06-15 09:02:28 +00:00
Edin Kadribasic
289997715a
Make it compile on windows
2005-06-15 00:11:29 +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