Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
219
void _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
230
void tz_reset(void)
Callers
7
tr_eval_string
Function · 0.85
tz_set
Function · 0.85
_tmrec_parse
Function · 0.85
_tmrec_check
Function · 0.85
_tz_offset
Function · 0.85
test_tz_dynamic
Function · 0.85
test_check_single_tmrec
Function · 0.85
Calls
no outgoing calls
Tested by
2
test_tz_dynamic
Function · 0.68
test_check_single_tmrec
Function · 0.68