We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce52f61 + 15acd16 commit 10fd2aeCopy full SHA for 10fd2ae
resources/assets/js/prototype/screens/Transactions/Index.vue
@@ -56,7 +56,7 @@ const getTransactionsBySpan = (span) => {
56
return happenedOn.getMonth() + 1 === span.month && happenedOn.getFullYear() === span.year;
57
})
58
.sort((a, b) => {
59
- return b.happened_on - a.happened_on;
+ return new Date(b.happened_on) - new Date(a.happened_on);
60
});
61
};
62
0 commit comments