change date Excel file
This commit is contained in:
@@ -19,7 +19,7 @@ const ExcelExport = () => {
|
||||
auth: true,
|
||||
requestOptions: {responseType: 'blob'}
|
||||
}).then((response) => {
|
||||
const filename = `گزارش عملکرد_${moment().format('jYYYY_jMM_jDD')}.xlsx`;
|
||||
const filename = `گزارش عملکرد_${moment().format('jDD_jMM_jYYYY')}.xlsx`;
|
||||
FileSaver.saveAs(response.data, filename);
|
||||
}).catch(() => {
|
||||
}).finally(() => {
|
||||
|
||||
Reference in New Issue
Block a user