mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-02 15:52:14 +00:00
some misc changes (#1848)
* some misc changes * stealth_mode: disable hms * fix bbl camera #1091 #1830 * fix anker
This commit is contained in:
@@ -32,8 +32,8 @@ inline std::string utc_timestamp()
|
||||
return utc_timestamp(get_current_time_utc());
|
||||
}
|
||||
|
||||
inline std::string local_timestamp() {
|
||||
return time2str(get_current_time_utc(), TimeZone::local, TimeFormat::gcode);
|
||||
inline std::string local_timestamp(TimeFormat fmt = TimeFormat::gcode) {
|
||||
return time2str(get_current_time_utc(), TimeZone::local, fmt);
|
||||
}
|
||||
|
||||
// String to time_t function. Returns time_t(-1) if fails to parse the input.
|
||||
|
||||
Reference in New Issue
Block a user