1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/date/lib
Peter Kokot 0ffa84d740 Refactor timelib.m4
The ext/date/lib is bundled library and also includes additional
timelib.m4 macros and checks specific for PHP.

All the checks in the timelib.m4 are already done in the PHP's
configure.ac:
- headers except for io.h and strings.h
- two functions checked strftime and gettimeofday
- if size of longint is 8
- if size of int is 4
- int32_t and uint32_t types using the PHP_CHECK_STDINT_TYPES

Macro `AC_TIMELIB_C_BIGENDIAN` defined in timelib.m4 is not used.

The two checkings for strtoll and atoll have been moved to date extension's
config0.m4 file.

Additional check for headers <io.h> and <strings.h> has been added to
config0.m4 of the date extension.

Therefore the timelib.m4 can be simplified and removed from the bundled
library to have easier maintenance in the later branches and also
upstream library.
2019-02-13 19:24:39 +01:00
..
2015-09-22 08:41:56 +01:00
2017-08-16 15:19:18 +01:00
2018-01-31 11:55:35 +00:00
2018-01-31 11:55:35 +00:00
2018-01-31 11:55:35 +00:00
2006-09-13 17:47:20 +00:00
2018-01-31 11:55:35 +00:00
2018-01-31 11:55:35 +00:00
2019-01-07 11:50:14 +00:00
2017-09-04 22:45:34 +01:00

timelib
=======

Timelib is a timezone and date/time library that can calculate local time,
convert between timezones and parse textual descriptions of date/time
information.

It is the library supporting PHP's Date/Time extension and MongoDB's time zone
support.