提交 fae4fe5a 编写于 作者: A Alex Duan

fix(timezone): call right apply function

上级 2dd1e05c
...@@ -274,10 +274,7 @@ static int32_t cfgSetTimezone(SConfigItem *pItem, const char *value, ECfgSrcType ...@@ -274,10 +274,7 @@ static int32_t cfgSetTimezone(SConfigItem *pItem, const char *value, ECfgSrcType
pItem->stype = stype; pItem->stype = stype;
// apply new timezone // apply new timezone
char szTimezone[TD_TIMEZONE_LEN] = {0}; osSetTimezone(value);
int8_t dl;
enum TdTimezone tdOffset = TdZeroZone;
taosSetSystemTimezone(value, szTimezone, &dl, &tdOffset);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册