mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-25 13:25:37 +00:00
Add time (%H%M) to default filename in save dialog
Signed-off-by: Alexander Shaduri <ashaduri@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user