Skip to content

Commit

Permalink
hotfix for incorrect import date month
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacon36 committed Apr 5, 2022
1 parent ec5725d commit 130e31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
lastImport() {
if (!this.lastImportDate) return "N/A";
const lastImportDate = new Date(this.lastImportDate);
return `${lastImportDate.getMonth()}/${lastImportDate.getDate()}/${lastImportDate.getFullYear()} @ ${lastImportDate.getHours()}:${lastImportDate.getMinutes()}`;
return `${lastImportDate.getMonth() + 1}/${lastImportDate.getDate()}/${lastImportDate.getFullYear()} @ ${lastImportDate.getHours()}:${lastImportDate.getMinutes()}`;
},
importerStatus() {
if (this.bulkImportActive) return "Active";
Expand Down

0 comments on commit 130e31e

Please sign in to comment.