mirror of https://github.com/Fabio286/antares.git
feat: export file name with hour, minutes and seconds, closes #610
This commit is contained in:
parent
703a515462
commit
2f5fa0f2e4
|
@ -327,7 +327,7 @@ const schemaItems = computed(() => {
|
||||||
return [];
|
return [];
|
||||||
});
|
});
|
||||||
const filename = computed(() => {
|
const filename = computed(() => {
|
||||||
const date = moment().format('YYYY-MM-DD');
|
const date = moment().format('YYYY-MM-DD_HH-mm-ss');
|
||||||
return `${props.selectedSchema}_${date}.${options.value.outputFormat}`;
|
return `${props.selectedSchema}_${date}.${options.value.outputFormat}`;
|
||||||
});
|
});
|
||||||
const dumpFilePath = computed(() => `${basePath.value}/${filename.value}`);
|
const dumpFilePath = computed(() => `${basePath.value}/${filename.value}`);
|
||||||
|
|
Loading…
Reference in New Issue