tape: change default media set naming template to "%c"

This commit is contained in:
Dietmar Maurer
2021-01-09 10:51:51 +01:00
parent 0bf1c314da
commit 7273ba3de2
2 changed files with 2 additions and 2 deletions

View File

@ -522,7 +522,7 @@ impl Inventory {
) -> Result<String, Error> {
if let Some(ctime) = self.media_set_start_time(media_set_uuid) {
let mut template = template.unwrap_or(String::from("%id%"));
let mut template = template.unwrap_or(String::from("%c"));
template = template.replace("%id%", &media_set_uuid.to_string());
proxmox::tools::time::strftime_local(&template, ctime)
} else {