Add time (%H%M) to default filename in save dialog

Signed-off-by: Alexander Shaduri <ashaduri@gmail.com>
This commit is contained in:
dpc
2022-01-13 13:43:46 +04:00
committed by Alexander Shaduri
parent ca974f3dfa
commit 7e0a8a2b62
+1 -1
View File
@@ -815,7 +815,7 @@ std::string StorageDevice::get_save_filename() const
{
std::string model = this->get_model_name(); // may be empty
std::string serial = this->get_serial_number();
std::string date = hz::format_date("%Y-%m-%d", false);
std::string date = hz::format_date("%Y-%m-%d_%H%M", true);
std::string filename_format;
rconfig::get_data("gui/smartctl_output_filename_format", filename_format);