diff --git a/pom.xml b/pom.xml index 00fb4f4..18528be 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 de.tilman next-transactions - 1.3.3 + 1.3.4 org.springframework.boot diff --git a/src/main/resources/static/js/controllers.js b/src/main/resources/static/js/controllers.js index ba3022c..ac02f68 100644 --- a/src/main/resources/static/js/controllers.js +++ b/src/main/resources/static/js/controllers.js @@ -467,7 +467,7 @@ transactionControllers.controller('ImportListCtrl', [ '$scope', '$resource', '$l var newTransaction = new Transaction({ "account" : $scope.account._links.self.href, "amount" : line[4].replace(',', '.'), - "date" : new Date(line[1].substr(6,4), line[1].substr(3,2), line[1].substr(0,2)), + "date" : new Date(line[1].substr(6,4) + "-" + line[1].substr(3,2) + "-" + line[1].substr(0,2)), "description" : line.targetDescription, "category" : line.targetCategory._links.self.href, "creditor" : ""