Skip to content

Commit 2393bbb

Browse files
authored
fix: fix timezone not supporting Windows (#96)
* fix: fix timezone not supporting Windows * chore: release 3.2.2
1 parent 340a437 commit 2393bbb

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

nodejs/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tdengine/websocket",
3-
"version": "3.2.1",
3+
"version": "3.2.2",
44
"description": "The websocket Node.js connector for TDengine. TDengine versions 3.3.2.0 and above are recommended to use this connector.",
55
"source": "index.ts",
66
"main": "lib/index.js",

nodejs/src/sql/wsSql.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,7 @@ export class WsSql {
5656
TSDB_OPTION_CONNECTION.TSDB_OPTION_CONNECTION_TIMEZONE,
5757
timezone
5858
);
59-
} else {
60-
await wsSql._wsClient.setOptionConnection(
61-
TSDB_OPTION_CONNECTION.TSDB_OPTION_CONNECTION_TIMEZONE,
62-
null
63-
);
6459
}
65-
6660
return wsSql;
6761
} catch (e: any) {
6862
logger.error(`WsSql open is failed, ${e.code}, ${e.message}`);

0 commit comments

Comments
 (0)