mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- Reorganize headers, and update TODO.
This commit is contained in:
parent
e7de7ff9e2
commit
e4860af785
@ -1,6 +1,6 @@
|
||||
- Port over my 200 test cases to .phpt format.
|
||||
- Write an error handler for unexpected characters while parsing dates.
|
||||
- Cache lookups for timezone information.
|
||||
- Change tz structure lookup to use binary search.
|
||||
- Move all date/time related functions from ext/standard to ext/date.
|
||||
- Move all date/time related tests from ext/standard/tests to ext/data/tests.
|
||||
- Optimize parsing @ with a negative timestamp.
|
||||
|
@ -18,9 +18,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <timelib_config.h>
|
||||
|
||||
#include "timelib_structs.h"
|
||||
#include "timelib.h"
|
||||
|
||||
static int m_table_common[13] = { -1, 0, 3, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5 }; /* 1 = jan */
|
||||
static int m_table_leap[13] = { -1, 6, 2, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5 }; /* 1 = jan */
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <timelib_config.h>
|
||||
#include "timelib.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@ -27,8 +27,6 @@
|
||||
#else
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#include "timelib.h"
|
||||
#include "timezonedb.h"
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
|
@ -18,9 +18,6 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <timelib_config.h>
|
||||
|
||||
#include "timelib_structs.h"
|
||||
#include "timelib.h"
|
||||
#include <ctype.h>
|
||||
|
||||
|
@ -21,6 +21,8 @@
|
||||
#ifndef __TIMELIB_STRUCTS_H__
|
||||
#define __TIMELIB_STRUCTS_H__
|
||||
|
||||
#include <timelib_config.h>
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <timelib_config.h>
|
||||
#include "timelib.h"
|
||||
|
||||
/* jan feb mrt apr may jun jul aug sep oct nov dec */
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
#include <timelib_config.h>
|
||||
#include "timelib.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@ -38,8 +38,6 @@
|
||||
#define TIMELIB_LL_CONST(n) n ## ll
|
||||
#endif
|
||||
|
||||
#include "timelib.h"
|
||||
|
||||
static int month_tab_leap[12] = { -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };
|
||||
static int month_tab[12] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user