fixes date for uploaded files
This commit is contained in:
parent
453e7e37d3
commit
22569de00f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user