Commit Graph

154 Commits

Author SHA1 Message Date
Ilia Alshanetsky
e919694017 MFB51: Moved date constants into the date class, they all class constants
now.
2005-11-17 21:07:27 +00:00
Ilia Alshanetsky
47414c4204 MFB51: fixed test 2005-11-17 18:25:48 +00:00
Derick Rethans
13373c5f9d - MF51: Fixed bug #35218 (strtotime no longer ignores timezone comments like (PST)). 2005-11-17 13:15:01 +00:00
foobar
dca23aa9cf fix typo 2005-11-17 09:56:28 +00:00
foobar
1399d605df - Moved the files from resource to one level down.
# This makes the gcov thing actually work :)
2005-11-17 09:52:35 +00:00
Antony Dovgal
21aeacfa9d call zend_objects_destroy_object() explicitly
fix segfault when intern->time is NULL
2005-11-15 14:07:43 +00:00
foobar
2cf0ce2925 - Change paths to be relative
#
# Derick, don't forget to move the .re file into this same directory!
#
# This was the 2nd last piece of making the code-coverage thing to work
# properly with VPATH builds. Once Derick moves the parse_date.re
# in the same directory where the generated file lives, it's done.
#
# Just copying it by hand in your sources in the meantime and doing
# "./configure --enable-gcov && make lcov" will produce data in lcov_html/
#
2005-11-08 22:45:55 +00:00
Derick Rethans
d095243b99 - MF51: Fixed bug #34874 and #33546 (Problems with lone daynames). 2005-10-19 21:11:15 +00:00
foobar
972a29d93c - Fixed error messages and tests 2005-10-19 11:18:16 +00:00
Derick Rethans
ff43c2eea5 - Improve error messages a bit. 2005-10-19 07:21:35 +00:00
Derick Rethans
df0184f25a - MF51: Fixed timezone guessing on Windows. 2005-10-15 18:14:40 +00:00
Derick Rethans
1f5660526a - MF51: Updated timezone database to version 2005.14. 2005-10-15 18:14:11 +00:00
Derick Rethans
569f8afa2c - 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:35 +00:00
Derick Rethans
d9a3cfd931 - Make sure the tzcache' dtor doesn't cleanup cached misses in the lookup
tables.
2005-10-10 16:41:40 +00:00
Derick Rethans
d35d37e74c - Fixed bug #34676: missing support for strtotime("midnight") and
strtotime("noon").
2005-10-08 14:30:15 +00:00
Derick Rethans
f70499f83a - Make the Windows guessing routines actually return the guessed timezone. 2005-10-07 20:31:57 +00:00
Derick Rethans
5b9d65e873 - Change parameter name because NetWare expands "tzname" as a macro to
something else.
2005-10-07 13:33:13 +00:00
Derick Rethans
83bb14d2ff - Fixed bug #34771 (strtotime() fails with 1-12am/pm). 2005-10-07 08:05:10 +00:00
Derick Rethans
0993034101 - Synced timezonemap with latest data. 2005-10-07 07:57:43 +00:00
Derick Rethans
e8f96db932 - MF51: Windows Timezone guessing code 2005-10-05 18:38:30 +00:00
Antony Dovgal
8ced962510 MFB5.1: include the header, eliminate warning 2005-10-03 23:43:43 +00:00
foobar
1ce96bd69f Generated files are included like this.. 2005-10-03 20:20:50 +00:00
foobar
686cbaf078 Add include path to the timelib headers 2005-10-03 20:20:20 +00:00
Derick Rethans
f027a065a7 - Only load external database when it is newer. 2005-10-03 11:34:27 +00:00
Derick Rethans
b75871d017 - Allow an external Timezone Database to be used. 2005-10-03 11:15:21 +00:00
Derick Rethans
2eaf85c481 - MF51: Implemented better timezone guessing algorithm. 2005-10-01 15:07:20 +00:00
Derick Rethans
f872d3346c - Fix buglett with date() that cause truncated strings to be returned when
Unicode is turned on.
2005-09-07 19:09:27 +00:00
Derick Rethans
5169c32573 - Added date_time_set, date_date_set and date_isodate_set() functions, and
setTime, setDate and setISODate() methods.
2005-09-02 14:57:42 +00:00
Derick Rethans
42fe62541e - Update timezone database to version "2005m". 2005-09-02 12:31:41 +00:00
Derick Rethans
9495b782b2 - Added comments into the database file, so that we can more easily spot
changes.
2005-09-02 11:39:42 +00:00
Derick Rethans
31f3f81c82 - MF51: Fixed bug #34304 (date() doesn't have a modifier for ISO Week Day). 2005-09-02 09:41:08 +00:00
Derick Rethans
e4fd549af9 - Fixed bad MF51. 2005-09-02 09:39:21 +00:00
foobar
d61c1eeeba MFB 2005-09-02 05:18:30 +00:00
Derick Rethans
06562e3e8e - Fixed bug #33414 (Comprehensive list of incorrect days returned after
strtotime() / date() tests).
2005-09-01 12:41:43 +00:00
Derick Rethans
447425d9f1 - Fixed bug #33957 (gmdate('W')/date('W') sometimes returns wrong week number). 2005-08-31 14:31:45 +00:00
Derick Rethans
cbe8be6a17 - Fixed bug #34302 (date('W') do not return leading zeros for week 1 to 9). 2005-08-30 09:17:56 +00:00
Derick Rethans
d468a854f9 - Fixed bug #34087 for real. 2005-08-25 09:46:31 +00:00
Andrei Zmievski
64dbc03c93 Fix ZTS. 2005-08-24 17:16:14 +00:00
Derick Rethans
c4d08b15f0 - Make it compile in ZTS mode
#- *untested*
2005-08-24 17:10:25 +00:00
Derick Rethans
e87054dbec - Fix test. 2005-08-24 14:17:58 +00:00
Derick Rethans
e226f0f87f - 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:47:28 +00:00
Wez Furlong
45412770a2 sizeof(time_t) !== sizeof(int)
also, sizeof(timelib_sll) != sizeof(int)

We get loads of truncation errors int this code when we assign 64 values into smaller ints.
2005-08-12 23:46:42 +00:00
Derick Rethans
cef2cd485a - Fixed TSRM issue.
- Added guessed timezone to phpinfo() output.
- Initialize is_dst in some cases.
- Corrected some test cases.
2005-08-09 21:07:54 +00:00
Ilia Alshanetsky
919b0bd5b4 Adjust date("") handling. 2005-08-08 16:49:30 +00:00
Derick Rethans
f3d9a1adbd - Update TODO 2005-08-04 14:59:29 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Derick Rethans
ef28855f4e - Fix test. 2005-08-02 21:16:05 +00:00
Derick Rethans
a5efa0d4c3 - Fixed testcase. 2005-08-01 07:38:20 +00:00
Ilia Alshanetsky
86d81fd743 Fixed bug #33869 (strtotime() problem with "+1days" format). 2005-07-26 22:29:27 +00:00
Ilia Alshanetsky
f2874cf737 Fix for bug #33869 2005-07-26 22:22:06 +00:00