mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-24 15:00:25 +02:00
fixed bulkbar wrapper clickthrough and normalized exported filename dates
This commit is contained in:
1 parent
97b85334a9
commit
e067bf1517
10 files changed
+32
-13
No files matched your search
@@ -169,7 +169,7 @@ export function pageSQLConsole(route) {
|
||||
|
||||
const data = [pageData.result.columns.map((c) => c.name)].concat(pageData.sortedResultRows);
|
||||
|
||||
const name = "export_" + app.utils.toLocalDatetime(new Date()).replace(/[\-\:\. ]/g, "_") + ".csv";
|
||||
const name = "export_" + new Date().toISOString().replace(/[\-\:\.]/g, "") + ".csv";
|
||||
|
||||
app.utils.downloadCSV(data, name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user