diff --git a/src/SimpleXLSXGen.php b/src/SimpleXLSXGen.php index a45f533..8181206 100644 --- a/src/SimpleXLSXGen.php +++ b/src/SimpleXLSXGen.php @@ -117,7 +117,7 @@ class SimpleXLSXGen { return true; } public function download() { - return $this->downloadAs( gmdate('YmdHi.xlsx') ); + return $this->downloadAs( gmdate('YmdHi') . '.xlsx' ); } public function downloadAs( $filename ) { $fh = fopen('php://memory','wb'); @@ -378,4 +378,4 @@ class SimpleXLSXGen { return (float) $excelDate + $excelTime; } -} \ No newline at end of file +}