This commit is contained in:
1 parent
f3a7df7de9
commit
77e467071b
2 files changed
+10
-2
No files matched your search
@@ -93,7 +93,7 @@ func (c *Client) createTodayYNABCapitalGainsTransaction(accountID string, amount
|
||||
transaction.Transaction.Cleared = "cleared"
|
||||
transaction.Transaction.Approved = true
|
||||
transaction.Transaction.PayeeName = "Capital Gains or Losses"
|
||||
transaction.Transaction.Memo = fmt.Sprintf("Quoted at: %s", time.Now().Format("2006-01-02 15:04:05"))
|
||||
transaction.Transaction.Memo = fmt.Sprintf("Quoted at: %s", time.Now().In(c.loc).Format("2006-01-02 15:04:05"))
|
||||
|
||||
response := &Transaction{}
|
||||
|
||||
@@ -114,7 +114,7 @@ func (c *Client) updateTodayYNABCapitalGainsTransaction(accountID string, transa
|
||||
transaction.Transaction.Cleared = "cleared"
|
||||
transaction.Transaction.Approved = true
|
||||
transaction.Transaction.PayeeName = "Capital Gains or Losses"
|
||||
transaction.Transaction.Memo = fmt.Sprintf("Quoted at: %s", time.Now().Format("2006-01-02 15:04:05"))
|
||||
transaction.Transaction.Memo = fmt.Sprintf("Quoted at: %s", time.Now().In(c.loc).Format("2006-01-02 15:04:05"))
|
||||
|
||||
response := &Transaction{}
|
||||
|
||||
|
||||
Reference in new issue
Block a user