Searched refs:tz_abbr (Results 1 – 10 of 10) sorted by relevance
/PHP-8.3/ext/date/tests/ |
H A D | bug41964.phpt | 10 var_dump($res['zone'], $res['tz_abbr']); 14 var_dump($res['zone'], $res['tz_abbr']); 18 var_dump($res['zone'], $res['tz_abbr']); 22 var_dump($res['zone'], $res['tz_abbr']); 26 var_dump($res['zone'], $res['tz_abbr']); 30 var_dump($res['zone'], $res['tz_abbr']); 34 var_dump($res['zone'], $res['tz_abbr']);
|
H A D | bug35499.phpt | 48 ["tz_abbr"]=>
|
/PHP-8.3/ext/date/lib/ |
H A D | timelib.c | 71 TIMELIB_TIME_FREE(t->tz_abbr); in timelib_time_dtor() 92 if (orig->tz_abbr) { in timelib_time_clone() 93 tmp->tz_abbr = timelib_strdup(orig->tz_abbr); in timelib_time_clone() 124 size_t tz_abbr_len = strlen(tz_abbr); in timelib_time_tz_abbr_update() 126 TIMELIB_TIME_FREE(tm->tz_abbr); in timelib_time_tz_abbr_update() 127 tm->tz_abbr = timelib_strdup(tz_abbr); in timelib_time_tz_abbr_update() 129 tm->tz_abbr[i] = toupper(tz_abbr[i]); in timelib_time_tz_abbr_update() 152 return t->tz_abbr; in timelib_get_tz_abbr_ptr() 323 if (d->tz_abbr) { in timelib_dump_date() 324 printf(" %s", d->tz_abbr); in timelib_dump_date() [all …]
|
H A D | unixtime2tm.c | 165 if (t->tz_abbr) { in timelib_set_timezone_from_offset() 166 timelib_free(t->tz_abbr); in timelib_set_timezone_from_offset() 168 t->tz_abbr = NULL; in timelib_set_timezone_from_offset() 179 if (t->tz_abbr) { in timelib_set_timezone_from_abbr() 180 timelib_free(t->tz_abbr); in timelib_set_timezone_from_abbr() 182 t->tz_abbr = timelib_strdup(abbr_info.abbr); in timelib_set_timezone_from_abbr() 205 if (t->tz_abbr) { in timelib_set_timezone() 206 timelib_free(t->tz_abbr); in timelib_set_timezone() 208 t->tz_abbr = timelib_strdup(gmt_offset->abbr); in timelib_set_timezone()
|
H A D | timelib_private.h | 175 void timelib_time_tz_abbr_update(timelib_time* tm, const char* tz_abbr);
|
H A D | parse_date.re | 810 static timelib_long timelib_lookup_abbr(const char **ptr, int *dst, char **tz_abbr, int *found) 839 *tz_abbr = word; 968 char *tz_abbr; 973 offset = timelib_lookup_abbr(ptr, dst, &tz_abbr, &found); 977 timelib_time_tz_abbr_update(t, tz_abbr); 981 if (!found || strcmp("UTC", tz_abbr) == 0) { 984 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) { 990 timelib_free(tz_abbr); 2708 if (!parsed->tz_abbr) { 2709 parsed->tz_abbr = now->tz_abbr ? timelib_strdup(now->tz_abbr) : NULL; [all …]
|
H A D | timelib.h | 256 char *tz_abbr; /* Timezone abbreviation (display only) */ member
|
H A D | parse_date.c | 812 static timelib_long timelib_lookup_abbr(const char **ptr, int *dst, char **tz_abbr, int *found) in timelib_lookup_abbr() argument 841 *tz_abbr = word; in timelib_lookup_abbr() 970 char *tz_abbr; in timelib_parse_zone() local 975 offset = timelib_lookup_abbr(ptr, dst, &tz_abbr, &found); in timelib_parse_zone() 979 timelib_time_tz_abbr_update(t, tz_abbr); in timelib_parse_zone() 983 if (!found || strcmp("UTC", tz_abbr) == 0) { in timelib_parse_zone() 986 if ((res = tz_wrapper(tz_abbr, tzdb, &dummy_error_code)) != NULL) { in timelib_parse_zone() 992 timelib_free(tz_abbr); in timelib_parse_zone() 25558 if (!parsed->tz_abbr) { in timelib_fill_holes() 25559 parsed->tz_abbr = now->tz_abbr ? timelib_strdup(now->tz_abbr) : NULL; in timelib_fill_holes()
|
/PHP-8.3/ext/date/ |
H A D | php_date.c | 1614 if (it_time->tz_abbr) { in date_period_it_current_data() 1615 newdateobj->time->tz_abbr = timelib_strdup(it_time->tz_abbr); in date_period_it_current_data() 1869 if (old_obj->time->tz_abbr) { in date_object_clone_date() 1870 new_obj->time->tz_abbr = timelib_strdup(old_obj->time->tz_abbr); in date_object_clone_date() 2479 now->tz_abbr = new_abbr; in php_date_initialize() 3041 if (parsed_time->tz_abbr) { in php_date_do_return_parsed_time() 4994 clone->tz_abbr = timelib_strdup(dateobj->time->tz_abbr); in PHP_METHOD() 5034 if (dpobj->start->tz_abbr) { in PHP_METHOD() 5035 dateobj->time->tz_abbr = timelib_strdup(dpobj->start->tz_abbr); in PHP_METHOD() 5061 if (dpobj->end->tz_abbr) { in PHP_METHOD() [all …]
|
/PHP-8.3/ext/intl/common/ |
H A D | common_date.cpp | 76 ? ((php_date_obj*)object)->time->tz_abbr in timezone_convert_datetimezone()
|
Completed in 266 milliseconds