Reverted the time estimate number stored into the G-code from

days/hours/minutes to days/hours/minutes/seconds, because who knows
who is already parsing the file.
This commit is contained in:
bubnikv 2020-02-10 15:46:08 +01:00
parent a25f58731e
commit 9f40e9e56e

View File

@ -1528,9 +1528,9 @@ void GCode::_do_export(Print& print, FILE* file)
_write_format(file, "; total filament cost = %.1lf\n", print.m_print_statistics.total_cost);
if (print.m_print_statistics.total_toolchanges > 0)
_write_format(file, "; total toolchanges = %i\n", print.m_print_statistics.total_toolchanges);
_write_format(file, "; estimated printing time (normal mode) = %s\n", m_normal_time_estimator.get_time_dhm/*s*/().c_str());
_write_format(file, "; estimated printing time (normal mode) = %s\n", m_normal_time_estimator.get_time_dhm().c_str());
if (m_silent_time_estimator_enabled)
_write_format(file, "; estimated printing time (silent mode) = %s\n", m_silent_time_estimator.get_time_dhm/*s*/().c_str());
_write_format(file, "; estimated printing time (silent mode) = %s\n", m_silent_time_estimator.get_time_dhm().c_str());
// Append full config.
_write(file, "\n");