bug: fix as_influx timestamp parsing.

This commit is contained in:
Upstream Data
2024-05-01 10:16:02 -06:00
parent 53f545ba13
commit 2f8aea5285

View File

@@ -400,6 +400,6 @@ class MinerData:
tags_str = ",".join(tag_data)
field_str = ",".join(field_data)
timestamp = str(int(time.mktime(self.datetime.timetuple()) * 1e9))
timestamp = str(self.timestamp * 1e9)
return " ".join([tags_str, field_str, timestamp])