MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / _tz_set

Function _tz_set

time_rec.c:219–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217
218
219void _tz_set(const char *tz)
220{
221 LM_DBG("setting timezone to: '%s'\n", tz);
222
223 old_tz = getenv("TZ");
224
225 setenv("TZ", tz, 1);
226 tzset();
227}
228
229
230void tz_reset(void)

Callers 7

tr_eval_stringFunction · 0.85
tz_setFunction · 0.85
_tmrec_parseFunction · 0.85
_tmrec_checkFunction · 0.85
_tz_offsetFunction · 0.85
test_tz_dynamicFunction · 0.85
test_check_single_tmrecFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_tz_dynamicFunction · 0.68
test_check_single_tmrecFunction · 0.68