]> granicus.if.org Git - php/commit
- MFH: Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones
authorDerick Rethans <derick@php.net>
Tue, 11 Apr 2006 18:03:52 +0000 (18:03 +0000)
committerDerick Rethans <derick@php.net>
Tue, 11 Apr 2006 18:03:52 +0000 (18:03 +0000)
commit4043f77e36b575ece28c5bfa3fd4297798d6e8c3
tree68280e3e1018ecc51dcbc5fb63bf7203bd42bf49
parent4bab5226b284613b7cda0dc5e0283e6b129b6106
- MFH: Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones
  identifiers). (Derick)
- MFH: Fixed bug #36988 (mktime freezes on long numbers). (Derick)
- MFH: Implemented better error and warning handling that is also used for the
  date_parse() function.
- MFH: Fixed problems with "T" in front of a time string was seen as a time
  zone string.
- MFH: Fixed a problem were 5 and 6 character timezone abbreviations where not
  correctly parsed.

Experimental support (All MFH):
- 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.
NEWS
ext/date/lib/parse_date.c
ext/date/lib/parse_date.re
ext/date/lib/timelib.c
ext/date/lib/timelib.h
ext/date/lib/timelib_structs.h
ext/date/lib/tm2unixtime.c
ext/date/php_date.c
ext/date/php_date.h
ext/date/tests/bug36988.phpt [new file with mode: 0644]
ext/date/tests/bug37017.phpt [new file with mode: 0644]