From 5d22a93ba8f3972f6d73a8f7f9acb3bdde128b78 Mon Sep 17 00:00:00 2001 From: OleksandrChaika <99030120+OleksandrChaika@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:04:38 +0200 Subject: [PATCH] Change timestamp to milliseconds (#45) --- src/Mqtt/MqttMessagingProtocolJSON.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mqtt/MqttMessagingProtocolJSON.cpp b/src/Mqtt/MqttMessagingProtocolJSON.cpp index 24723c4..8b5bd2e 100644 --- a/src/Mqtt/MqttMessagingProtocolJSON.cpp +++ b/src/Mqtt/MqttMessagingProtocolJSON.cpp @@ -29,7 +29,7 @@ namespace sua { uint64_t MqttMessagingProtocolJSON::epochTime() const { - return std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count(); + return std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count(); } Command MqttMessagingProtocolJSON::readCommand(const std::string & input)