mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
tweak generator info and use local time stamp for better readability
This commit is contained in:
parent
f914a36a7f
commit
2895477da4
4 changed files with 15 additions and 10 deletions
|
@ -784,7 +784,7 @@ std::string Model::get_backup_path()
|
|||
std::time_t t = std::time(0);
|
||||
std::tm* now_time = std::localtime(&t);
|
||||
std::stringstream buf;
|
||||
buf << "/bamboo_model/";
|
||||
buf << "/orcaslicer_model/";
|
||||
buf << std::put_time(now_time, "%a_%b_%d/%H_%M_%S#");
|
||||
buf << pid << "#";
|
||||
buf << this->id().id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue