Derick Rethans
43ca53674c
- MF52: Fixed bug #37514 (strtotime doesn't assume year correctly).
20 years ago
Derick Rethans
733c60eab6
- Fixed windows compile error.
20 years ago
Derick Rethans
5845a93484
- Implemented Dmitry's const patch.
- Added support for "weekday" as relative item.
- Fixed bug #37368 (Incorrect timestamp returned for strtotime()).
20 years ago
Derick Rethans
9844b76e56
- Fixed bug #36988 (mktime freezes on long numbers)
20 years ago
Derick Rethans
74c0864346
- Fixed bug #37017 in a different way and added a test case.
20 years ago
Derick Rethans
7ca9d09689
- 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.
- Fixed a bug where combined date formats 'c' and 'r' were cut off due to
insufficient space in the buffer.
- Implemented better error and warning handling that is also used for the
date_parse() function.
- Fixed the date::RFC3339 class constant.
- Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones
identifiers)
- Fixed problems with "T" in front of a time string was seen as a time zone
string.
- Fixed a problem were 5 and 6 character timezone abbreviations where not
correctly parsed.
20 years ago
Antony Dovgal
41e5bcd8c5
MFB: fix several leaks in date_sun*() functions
21 years ago
Derick Rethans
bb7246d36f
- Fixed bug #36638 (strtotime unconditional false return on now <= 0)
21 years ago
Derick Rethans
2068a3bea5
- Fixed bug #36510 (strtotime string with tabs - changed behaviour).
21 years ago
Ilia Alshanetsky
736a05f959
MFB51: Revert previous fix to allow for a more comprehensive patch from Derick.
21 years ago
Ilia Alshanetsky
341113bdb2
Fixed file
21 years ago
Ilia Alshanetsky
4c722c519f
MFB51: Fixed bug #36510 (strtotime() fails to parse date strings with tabs).
21 years ago
Derick Rethans
945cba102a
- Added support for exif date format
- Fixed bug #36396 (strtotime() fails to parse dates in dd-mm-yyyy format).
21 years ago
Derick Rethans
87726add5f
- Upgraded timezonedb to 2006a.
21 years ago
Derick Rethans
81d9c330f7
- Fixed bug #35885 (strtotime("NOW") no longer works).
- Fixed bug #35887 (wddx_deserialize not parsing dateTime fields properly).
#- Not added to NEWS as this will be merged to PHP_5_1 when Ilia looks at it.
21 years ago
Derick Rethans
648e20c1b6
- New implementation of the sunset algorithm. Fixes bugs #33789 , #33671 , #32820
and #30937 .
#- Didn't add it to news yet, as we'll merge this to PHP 5.1.x (just need to
# wait for Ilia to approve it for 5.1.2).
21 years ago
foobar
251c5173fd
bump year and license version
21 years ago
Derick Rethans
4bb5f21009
- Upgraded timezone db to 2005.18.
21 years ago
Derick Rethans
2dcdf6769a
- Fixed bug #35660 (AIX TZ variable format not understood, yields UTC timezone).
21 years ago
Derick Rethans
8e4e37ca9e
- MF51: Fixed bug #35699 (date() can't handle leap years before 1970)
21 years ago
Derick Rethans
85858a73b6
- MF51: Updated timezone database to version 2005.17 (q).
21 years ago
Derick Rethans
1394b48d21
- Reintroduced the normal constants.
- Made the test cases work with the normal non-class constants.
- Merged new timelib, which is a bit more cleverer
- Support "UTC" in strtotime() properly.
- Added astro code, which is going to form the base for the new sunfuncs.
21 years ago
foobar
f5318a9530
touch with re2c 0.9.11
21 years ago
Ilia Alshanetsky
3a3e7a86e8
MFB51: Fixed UTC handling problem stemming from an earlier fix for bug #35422 .
21 years ago
Derick Rethans
663bb230b9
- Those should be lower case only.
21 years ago
Ilia Alshanetsky
bc2e673856
MFB51: Fixed bug #35705 (strtotime() fails to parse soap date format
without TZ).
21 years ago
Ilia Alshanetsky
41baa7abbe
MFB51: Fixed bug #35630 (strtotime() crashes on certain relative
identifiers).
21 years ago
foobar
7a44f346a3
- Fix build failure under win32
21 years ago
Ilia Alshanetsky
21a47c4950
MFB51:
Fixed bug #35624 (strtotime() does not handle 3 character weekdays).
Improved fix for bug #35414 .
21 years ago
Ilia Alshanetsky
4041e52215
MFB51: Regenerate file to be more gcov friendly
21 years ago
foobar
ab3fcb8f06
MFB51: fix compile warning and paths
21 years ago
Ilia Alshanetsky
38d192b7c6
MFB51: Fixed bug #35499 (strtotime() does not handle whitespace around the
date string).
21 years ago
foobar
1b85d42ba5
- Regenerated with working re2c and with proper options
21 years ago
Ilia Alshanetsky
eed6f67ffa
MFB51:
Fixed bug #35422 (strtotime() does not parse times with UTC as timezone).
Fixed bug #35414 (strtotime() no longer works with ordinal suffix).
21 years ago
Ilia Alshanetsky
2303ff493c
MFB51: Fixed bug #35456 (+ 1 [time unit] format did not work).
21 years ago
Derick Rethans
13373c5f9d
- MF51: Fixed bug #35218 (strtotime no longer ignores timezone comments like (PST)).
21 years ago
foobar
dca23aa9cf
fix typo
21 years ago
foobar
1399d605df
- Moved the files from resource to one level down.
# This makes the gcov thing actually work :)
21 years ago
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/
#
21 years ago
Derick Rethans
d095243b99
- MF51: Fixed bug #34874 and #33546 (Problems with lone daynames).
21 years ago
Derick Rethans
df0184f25a
- MF51: Fixed timezone guessing on Windows.
21 years ago
Derick Rethans
1f5660526a
- MF51: Updated timezone database to version 2005.14.
21 years ago
Derick Rethans
d35d37e74c
- Fixed bug #34676 : missing support for strtotime("midnight") and
strtotime("noon").
21 years ago
Derick Rethans
83bb14d2ff
- Fixed bug #34771 (strtotime() fails with 1-12am/pm).
21 years ago
Derick Rethans
0993034101
- Synced timezonemap with latest data.
21 years ago
foobar
1ce96bd69f
Generated files are included like this..
21 years ago
Derick Rethans
b75871d017
- Allow an external Timezone Database to be used.
21 years ago
Derick Rethans
2eaf85c481
- MF51: Implemented better timezone guessing algorithm.
21 years ago
Derick Rethans
42fe62541e
- Update timezone database to version "2005m".
21 years ago
Derick Rethans
9495b782b2
- Added comments into the database file, so that we can more easily spot
changes.
21 years ago