mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 11:47:54 -06:00
Semver fixes, misc fixes
This commit is contained in:
parent
12b3132b1a
commit
b030791384
8 changed files with 35 additions and 33 deletions
|
@ -71,7 +71,8 @@ time_t get_current_time_utc()
|
|||
tm.tm_isdst = -1;
|
||||
return mktime(&tm);
|
||||
#else
|
||||
return gmtime();
|
||||
const time_t current_local = time(nullptr);
|
||||
return mktime(gmtime(¤t_local));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue