Skip to content

useServerTimestamp does not work with non-default precisions #206

@szerwi

Description

@szerwi

It seems that useServerTimestamp does not work with precisions other than default.

List the minimal actions needed to reproduce the behavior.

  1. Set useServerTimestamp(true) and writePrecision(WritePrecision::S)
  2. Send point

Expected behavior:
Timestamp from server should be used

Actual behavior:
Timestamp is invalid - point is placed with 01-01-1970 timestamp

Specifications:

  • Library Version: 3.13.0
  • InfluxDB Version: 2.6.1
  • Board/ESP chip: ESP32 Dev Module
  • Device Arduino SDK version: arduino-esp32 2.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions