1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00
Files
archived-php-src/ext/date/lib
Derick Rethans 9f979a16bf - Added new date/time functionality:
* date_parse_from_format(): Parse date/time strings according to a format.
  * date_create_from_format()/DateTime::createFromFormat(): Create a date/time
    object by parsing a date/time string according to a given format.
  * date_get_last_errors()/DateTime::getLastErrors(): Return a list of warnings
    and errors that were found while parsing a date/time string through:
    - strtotime() / new DateTime
    - date_create_from_format() / DateTime::createFromFormat()
    - date_parse_from_format()
# [DOC]
2008-01-13 15:16:02 +00:00
..
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2007-12-31 07:17:19 +00:00
2005-11-17 12:33:36 +00:00
2006-09-13 17:47:20 +00:00
2007-12-31 07:17:19 +00:00
2008-01-13 15:16:02 +00:00
2008-01-01 15:32:05 +00:00

Regenerating Parser
===================

Make sure you use re2c 0.9.10 or higher:

/dat/dev/sf/re2c/re2c -d -b -o ext/date/lib/parse_date.c ext/date/lib/parse_date.re