diff options
| author | Derick Rethans <derick@php.net> | 2008-01-29 20:12:53 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2008-01-29 20:12:53 +0000 |
| commit | 81f2dc39bd6631a3bff431303031bcf2e1c4a677 (patch) | |
| tree | d71c5e64c7cd1b0a5b38c87396b1cb7c35b25dd1 /ext/date/php_date.c | |
| parent | 6878464e06a980cc79057a8c6254bfdf4fbece7f (diff) | |
| download | php-git-81f2dc39bd6631a3bff431303031bcf2e1c4a677.tar.gz | |
- Make whitespace the same as in HEAD.
Diffstat (limited to 'ext/date/php_date.c')
| -rw-r--r-- | ext/date/php_date.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index ef54df75b0..fde7d62606 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -221,15 +221,16 @@ const zend_function_entry date_funcs_date[] = { }; const zend_function_entry date_funcs_timezone[] = { - PHP_ME(DateTimeZone, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) - PHP_ME_MAPPING(getName, timezone_name_get, NULL, 0) - PHP_ME_MAPPING(getOffset, timezone_offset_get, NULL, 0) - PHP_ME_MAPPING(getTransitions, timezone_transitions_get, NULL, 0) - PHP_ME_MAPPING(listAbbreviations, timezone_abbreviations_list, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) - PHP_ME_MAPPING(listIdentifiers, timezone_identifiers_list, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) + PHP_ME(DateTimeZone, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) + PHP_ME_MAPPING(getName, timezone_name_get, NULL, 0) + PHP_ME_MAPPING(getOffset, timezone_offset_get, NULL, 0) + PHP_ME_MAPPING(getTransitions, timezone_transitions_get, NULL, 0) + PHP_ME_MAPPING(listAbbreviations, timezone_abbreviations_list, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) + PHP_ME_MAPPING(listIdentifiers, timezone_identifiers_list, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) {NULL, NULL, NULL} }; +static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC); static void date_register_classes(TSRMLS_D); static char* guess_timezone(const timelib_tzdb *tzdb TSRMLS_DC); /* }}} */ @@ -1152,7 +1153,7 @@ PHP_FUNCTION(strtotime) timelib_time_dtor(now); RETURN_FALSE; } - + t = timelib_strtotime(times, time_len, &error, DATE_TIMEZONEDB); error1 = error->error_count; timelib_error_container_dtor(error); |
