Merge pull request #18110 from taosdata/fix/TD-19935-3.0
fix(timezone): taos_options apply new timezone
This commit is contained in:
commit
fa2e39a5fa
|
@ -271,8 +271,11 @@ static int32_t cfgSetTimezone(SConfigItem *pItem, const char *value, ECfgSrcType
|
||||||
cfgStypeStr(stype), value, terrstr());
|
cfgStypeStr(stype), value, terrstr());
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
pItem->stype = stype;
|
pItem->stype = stype;
|
||||||
|
|
||||||
|
// apply new timezone
|
||||||
|
osSetTimezone(value);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue