Home
last modified time | relevance | path

Searched refs:tz_abbr (Results 1 – 10 of 10) sorted by relevance

/PHP-8.2/ext/date/tests/
H A Dbug41964.phpt10 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 Dbug35499.phpt48 ["tz_abbr"]=>
/PHP-8.2/ext/date/lib/
H A Dtimelib.c71 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 Dunixtime2tm.c165 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 Dtimelib_private.h175 void timelib_time_tz_abbr_update(timelib_time* tm, const char* tz_abbr);
H A Dparse_date.re810 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 Dtimelib.h256 char *tz_abbr; /* Timezone abbreviation (display only) */ member
H A Dparse_date.c812 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.2/ext/date/
H A Dphp_date.c1596 if (it_time->tz_abbr) { in date_period_it_current_data()
1597 newdateobj->time->tz_abbr = timelib_strdup(it_time->tz_abbr); in date_period_it_current_data()
1836 if (old_obj->time->tz_abbr) { in date_object_clone_date()
1837 new_obj->time->tz_abbr = timelib_strdup(old_obj->time->tz_abbr); in date_object_clone_date()
2450 now->tz_abbr = new_abbr; in php_date_initialize()
3012 if (parsed_time->tz_abbr) { in php_date_do_return_parsed_time()
4792 clone->tz_abbr = timelib_strdup(dateobj->time->tz_abbr); in PHP_METHOD()
4846 if (dpobj->start->tz_abbr) { in PHP_METHOD()
4847 dateobj->time->tz_abbr = timelib_strdup(dpobj->start->tz_abbr); in PHP_METHOD()
4873 if (dpobj->end->tz_abbr) { in PHP_METHOD()
[all …]
/PHP-8.2/ext/intl/common/
H A Dcommon_date.cpp76 ? ((php_date_obj*)object)->time->tz_abbr in timezone_convert_datetimezone()

Completed in 95 milliseconds