mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 07:32:39 -07:00
Fix incorrect time format spec in iso_utc_timestamp.
Also add test for such errors in the future.
This commit is contained in:
@@ -46,7 +46,7 @@ time_t str2time(const std::string &str, TimeZone zone, TimeFormat fmt);
|
||||
|
||||
inline std::string iso_utc_timestamp(time_t t)
|
||||
{
|
||||
return time2str(t, TimeZone::utc, TimeFormat::gcode);
|
||||
return time2str(t, TimeZone::utc, TimeFormat::iso8601Z);
|
||||
}
|
||||
|
||||
inline std::string iso_utc_timestamp()
|
||||
|
||||
Reference in New Issue
Block a user