1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-02-13 02:00:36 +01:00

feat: export file name with hour, minutes and seconds, closes #610

This commit is contained in:
Fabio Di Stasio 2023-07-12 15:20:44 +02:00
parent 703a515462
commit 2f5fa0f2e4

View File

@ -327,7 +327,7 @@ const schemaItems = computed(() => {
return [];
});
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}`;
});
const dumpFilePath = computed(() => `${basePath.value}/${filename.value}`);