Skip to content

Commit ae5545f

Browse files
committed
version 2.10.0
1 parent f842e2e commit ae5545f

File tree

5 files changed

+294
-5
lines changed

5 files changed

+294
-5
lines changed

History.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 2.10.0
2+
* Support tz(timezone) function
3+
14
# 2.9.0
25
* Support basic authentication, #29
36

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ reader.multiQuery();
173173
reader.measurement = 'login';
174174
reader.set({
175175
limit: 1,
176+
tz: 'America/Chicago',
176177
});
177178
reader.set({
178179
format: 'json',

lib/reader.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ class Reader extends QL {
7070
* soffset: 0,
7171
* // changes the value reported for time intervals that have no data
7272
* fill: 0,
73+
* // timezone
74+
* tz: 'America/Chicago',
7375
* })
7476
* .then(console.info)
7577
* .catch(console.error);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "influxdb-nodejs",
33
"description": "node.js influxdb client",
4-
"version": "2.9.0",
4+
"version": "2.10.0",
55
"author": "Tree Xie <vicansocanbico@gmail.com>",
66
"keywords": [
77
"influx",

0 commit comments

Comments
 (0)