fixes date for uploaded files

This commit is contained in:
Martin Loidl 2018-08-25 08:50:42 +02:00 committed by bubnikv
parent 453e7e37d3
commit 22569de00f

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, "time=%Y-%d-%mT%H:%M:%S", &tm);
std::strftime(buffer, BUFFER_SIZE, "time=%Y-%m-%dT%H:%M:%S", &tm);
return std::string(buffer);
}