Commit Graph

162 Commits

Author SHA1 Message Date
Ilia Alshanetsky
ea80259eb3 Fixed ZTS build 2005-11-29 23:10:15 +00:00
Ilia Alshanetsky
6f5b9894a2 Added missing support for 'B' format identifier to date() function. 2005-11-29 20:43:53 +00:00
Ilia Alshanetsky
820b5aa9e4 Fixed bug #35425 (idate() function ignores timezone settings). 2005-11-29 20:19:56 +00:00
Ilia Alshanetsky
bc9fc0d6cf Fixed tests 2005-11-29 16:25:16 +00:00
foobar
4250a26f5c - Regenerated with working re2c and with proper options 2005-11-29 08:10:59 +00:00
Ilia Alshanetsky
2ad81f4584 Fixed bug #35414 (strtotime() no longer works with ordinal suffix). 2005-11-29 01:23:29 +00:00
Ilia Alshanetsky
22f2b206b7 Fixed bug #35422 (strtotime() does not parse times with UTC as timezone). 2005-11-28 23:49:25 +00:00
Ilia Alshanetsky
c2ec68ab62 Fixed bug #35456 (+ 1 [time unit] format did not work). 2005-11-28 22:24:01 +00:00
Ilia Alshanetsky
b3a48855ab Disabled native date class, to prevent pear::date conflict. 2005-11-27 06:51:43 +00:00
Antony Dovgal
7241dea7ef fix Timezone class too 2005-11-26 12:35:27 +00:00
Antony Dovgal
b6307d1014 MFH: fix #35402 (New date class causes crash in get_object_vars()) 2005-11-26 09:40:54 +00:00
Derick Rethans
2bb4d8282c - Fixed bug #35143 (gettimeofday() ignores current time zone).
- Fixed tests due to class constants patch.
2005-11-20 20:14:24 +00:00
Ilia Alshanetsky
eb0a6a666f Moved date constants into the date class, they all class constants now. 2005-11-17 21:05:30 +00:00
Ilia Alshanetsky
95c6c6d2cd Fixed test. 2005-11-17 18:25:16 +00:00
Derick Rethans
924ae32ddf - Fixed bug #35218 (strtotime no longer ignores timezone comments like "(PST)") 2005-11-17 13:04:31 +00:00
Derick Rethans
18606377dd - Fixed typo 2005-11-17 12:33:36 +00:00
foobar
52747127f8 MFH 2005-11-17 09:58:28 +00:00
Ilia Alshanetsky
cce5e8c9ea Updated tests to use [] instead of {} 2005-11-16 15:13:20 +00:00
Antony Dovgal
23a3fdbf04 MFH: call zend_objects_destroy_object() explicitly
fix segfault when intern->time is NULL
2005-11-15 14:08:03 +00:00
Derick Rethans
719e78c78f - Fixed bug #34874 and #33546 (Problems with lone daynames). 2005-10-19 21:08:35 +00:00
foobar
e264b8a4d3 MFH: Fixed error messages and tests 2005-10-19 11:18:51 +00:00
Derick Rethans
6aed41421e - MFH: Improved error messages a bit. 2005-10-19 07:22:20 +00:00
Derick Rethans
0893e10ac3 - Updated timezone database to version 2005.14. 2005-10-15 18:13:19 +00:00
Derick Rethans
33921efc44 - Fixed timezone guessing on Windows. (Derick, Nuno) 2005-10-15 18:12:29 +00:00
Derick Rethans
cd90395cb6 - MFH: Apperently you can't store NULL pointer values into Zend hashes - god
know why not - so we won't store those in the cache anymore.
2005-10-12 19:49:59 +00:00
Derick Rethans
44205dc58a - MFH: Make sure the tzcache' dtor doesn't cleanup cached misses in the lookup
tables.
2005-10-10 16:42:32 +00:00
Derick Rethans
e3c8bd51de - MFH: Fixed bug #34676: missing support for strtotime("midnight") and
strtotime("noon").
2005-10-08 14:31:17 +00:00
Derick Rethans
5e46f636a5 - MFH: Make the Windows guessing routines actually return the guessed timezone. 2005-10-07 20:32:17 +00:00
Derick Rethans
6df3e40977 - MFH: Change parameter name because NetWare expands "tzname" as a macro to
something else.
2005-10-07 13:33:31 +00:00
Derick Rethans
969f05a709 - MFH: Fixed bug #34771 (strtotime() fails with 1-12am/pm). 2005-10-07 08:09:01 +00:00
Derick Rethans
595ee08653 - MFH: New timezonemap data. 2005-10-07 08:06:40 +00:00
Derick Rethans
e1661efced - Implement correct Windows timezone guessing. 2005-10-05 11:06:56 +00:00
Derick Rethans
33a91ad309 - Fixed typo. 2005-10-05 08:23:39 +00:00
Derick Rethans
c3678550a3 - Implemented tzcache
- Attempt at Windows detection code
2005-10-05 08:20:44 +00:00
Antony Dovgal
262cbbe8d0 include php_version_compare() declaration and eliminate warning 2005-10-03 23:37:10 +00:00
foobar
1c667a88e7 MFH 2005-10-03 20:21:02 +00:00
Derick Rethans
e117d540d1 - MFH: Only use external database when it is newer than the builtin one. 2005-10-03 11:34:51 +00:00
Derick Rethans
afccca77dd - MFH: Allow an external Timezone Database to be used. 2005-10-03 11:17:28 +00:00
Derick Rethans
08b5c498ce - Implemented better timezone guessing algorithm. 2005-10-01 15:04:07 +00:00
Derick Rethans
abcfcd3f2e - MFH: Added date_time_set, date_date_set and date_isodate_set() functions, and
setTime, setDate and setISODate() methods.
2005-09-02 14:58:01 +00:00
Derick Rethans
bb35f045df - MFH: Update timezone database to version "2005m". 2005-09-02 12:32:15 +00:00
Derick Rethans
00566c3949 - MFH: New layout for tz database file. 2005-09-02 11:40:27 +00:00
Derick Rethans
321732227f - Fixed bug #34304 (date() doesn't have a modifier for ISO Week Day). 2005-09-02 09:33:08 +00:00
foobar
a4673bd7b7 Fix test (week numbers below 10 are zero-prefixed now) 2005-09-02 05:17:42 +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
Derick Rethans
9230473cd3 - Fixed bug #33957 (gmdate('W')/date('W') sometimes returns wrong week number). 2005-08-31 14:29:23 +00:00
Derick Rethans
0e2491f553 - Fixed bug #34302 (date('W') do not return leading zeros for week 1 to 9). 2005-08-30 09:17:09 +00:00
Derick Rethans
d3326d5b26 - MFH: Fixed bug #34087 for real.
- MFH: Windows compile fixes.
2005-08-25 09:47:28 +00:00
Derick Rethans
164b4ad4dd MFH:
- Fixed bug #34087 (strtotime() does not work with date format "Y/m/d").
- Make use of YYMAXFILL.
- Added support for using a . as hour/minute/second separator.
2005-08-24 13:39:34 +00:00
Ilia Alshanetsky
690f2ab5ed Added test for bug #34087 2005-08-17 15:31:57 +00:00