bug: fix as_influx timestamp parsing.

This commit is contained in:
Upstream Data
2024-05-01 10:16:02 -06:00
parent a0a1b68f68
commit ed3a4bd32a

View File

@@ -398,6 +398,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])