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:
Derick Rethans
2015-08-16 21:57:34 +00:00
parent f3ab77ffbf
commit 32a11bdb5c
4 changed files with 1695 additions and 1682 deletions

View File

@@ -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>

View File

@@ -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);

View File

@@ -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[]

File diff suppressed because it is too large Load Diff