mirror of
https://github.com/php/pecl-datetime-timezonedb.git
synced 2026-03-23 23:12:10 +01:00
Fixed sorting order, and make sure we're loading the right version
git-svn-id: http://svn.php.net/repository/pecl/timezonedb/trunk@337508 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
@@ -20,11 +20,11 @@ located at http://www.iana.org/time-zones.
|
||||
<email>derick@php.net</email>
|
||||
<active>yes</active>
|
||||
</lead>
|
||||
<date>2015-08-12</date>
|
||||
<date>2015-08-16</date>
|
||||
<time>21:56:27</time>
|
||||
<version>
|
||||
<release>2015.6</release>
|
||||
<api>2015.6</api>
|
||||
<release>2015.6.1</release>
|
||||
<api>2015.6.1</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
extern zend_module_entry timezonedb_module_entry;
|
||||
#define phpext_timezonedb_ptr &timezonedb_module_entry
|
||||
|
||||
#define PHP_TIMEZONEDB_VERSION "2015.5"
|
||||
#define PHP_TIMEZONEDB_VERSION "2015.6.1"
|
||||
|
||||
PHP_MINIT_FUNCTION(timezonedb);
|
||||
PHP_MINFO_FUNCTION(timezonedb);
|
||||
|
||||
13
timezonedb.c
13
timezonedb.c
@@ -33,6 +33,19 @@
|
||||
#define timezonedb_idx_builtin timezonedb_idx_external
|
||||
#define timelib_timezone_db_data_builtin timelib_timezone_db_data_external
|
||||
|
||||
#if PHP_VERSION_ID >= 50441 && PHP_VERSION_ID <= 50499
|
||||
# define TIMELIB_SUPPORTS_V2DATA
|
||||
#endif
|
||||
#if PHP_VERSION_ID >= 50525 && PHP_VERSION_ID <= 50599
|
||||
# define TIMELIB_SUPPORTS_V2DATA
|
||||
#endif
|
||||
#if PHP_VERSION_ID >= 50609 && PHP_VERSION_ID <= 50699
|
||||
# define TIMELIB_SUPPORTS_V2DATA
|
||||
#endif
|
||||
#if PHP_VERSION_ID >= 70000
|
||||
# define TIMELIB_SUPPORTS_V2DATA
|
||||
#endif
|
||||
|
||||
#include "timezonedb.h"
|
||||
|
||||
/* {{{ timezonedb_functions[]
|
||||
|
||||
3356
timezonedb.h
3356
timezonedb.h
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user