From f86655fdddb519f59ab70043d0c065aca807b94f Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Wed, 5 Jan 2011 09:52:52 -0500 Subject: [PATCH] Add time to category:move transactions. --- rpc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpc.cpp b/rpc.cpp index aede2e4c4ce..520921972ff 100644 --- a/rpc.cpp +++ b/rpc.cpp @@ -927,6 +927,7 @@ void AcentryToJSON(const CAccountingEntry& acentry, const string& strAccount, Ar Object entry; entry.push_back(Pair("account", acentry.strAccount)); entry.push_back(Pair("category", "move")); + entry.push_back(Pair("time", (boost::int64_t)acentry.nTime)); entry.push_back(Pair("amount", ValueFromAmount(acentry.nCreditDebit))); entry.push_back(Pair("otheraccount", acentry.strOtherAccount)); entry.push_back(Pair("comment", acentry.strComment));