fixed timestamp for duet upload

* Added missing time=
This commit is contained in:
Martin Loidl 2018-08-21 22:56:29 +02:00 committed by Vojtech Kral
parent 0c984c7584
commit 43f8f10445

View file

@ -230,7 +230,7 @@ std::string Duet::timestamp_str() const
auto tm = *std::localtime(&t);
char buffer[BUFFER_SIZE];
std::strftime(buffer, BUFFER_SIZE, "%Y-%d-%mT%H:%M:%S", &tm);
std::strftime(buffer, BUFFER_SIZE, "time=%Y-%d-%mT%H:%M:%S", &tm);
return std::string(buffer);
}