mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-20 07:24:27 +08:00
fixed timestamp for duet upload
* Added missing time=
This commit is contained in:
parent
0c984c7584
commit
43f8f10445
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user