mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
nicer timestamp for result zipfile
This commit is contained in:
parent
48ee4825d5
commit
8d7635553d
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ class Scenario extends React.Component {
|
|||
filesToDownload.forEach(file => {
|
||||
zip.file(file.name, file.data);
|
||||
});
|
||||
let zipname = "result_" + this.state.resultNodl + "_" + Date.now();
|
||||
let zipname = "result_" + this.state.resultNodl + "_" + (new Date()).toISOString();
|
||||
zip.generateAsync({type: "blob"}).then(function(content) {
|
||||
saveAs(content, zipname);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue