fix for wrong import dates
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>de.tilman</groupId>
|
<groupId>de.tilman</groupId>
|
||||||
<artifactId>next-transactions</artifactId>
|
<artifactId>next-transactions</artifactId>
|
||||||
<version>1.3.3</version>
|
<version>1.3.4</version>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|||||||
@@ -467,7 +467,7 @@ transactionControllers.controller('ImportListCtrl', [ '$scope', '$resource', '$l
|
|||||||
var newTransaction = new Transaction({
|
var newTransaction = new Transaction({
|
||||||
"account" : $scope.account._links.self.href,
|
"account" : $scope.account._links.self.href,
|
||||||
"amount" : line[4].replace(',', '.'),
|
"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,
|
"description" : line.targetDescription,
|
||||||
"category" : line.targetCategory._links.self.href,
|
"category" : line.targetCategory._links.self.href,
|
||||||
"creditor" : ""
|
"creditor" : ""
|
||||||
|
|||||||
Reference in New Issue
Block a user