We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8dbfe0 commit 3982b8cCopy full SHA for 3982b8c
InfluxData.h
@@ -18,9 +18,9 @@ class InfluxData {
18
_values = (_values == "") ? (" ") : (_values += ",");
19
_values += key + "=" + String(value);
20
}
21
- void setTime(long int value)
+ void setTimestamp(long int seconds)
22
{
23
- _time = " " + String(value) + "000000000";
+ _timestamp = " " + String(seconds) + "000000000";
24
25
26
String toString() const { return _measurement + _tags + _values + _time; }
@@ -29,5 +29,5 @@ class InfluxData {
29
String _measurement;
30
String _tags;
31
String _values;
32
- String _time;
+ String _timestamp;
33
};
0 commit comments