From 632913c561e6597a3ddec7d817fe59c90d4fb3ee Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Mon, 23 Feb 2015 11:11:16 -0300 Subject: [PATCH] fix tx date --- bit-wallet/bit-history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bit-wallet/bit-history b/bit-wallet/bit-history index 8d86a2e..0680b99 100755 --- a/bit-wallet/bit-history +++ b/bit-wallet/bit-history @@ -22,7 +22,7 @@ client.getTxHistory({}, function (err, txs) { console.log("* TX History:") _.each(txs, function(tx) { - var time = moment().fromNow(tx.time); + var time = moment(tx.time * 1000).fromNow(); var amount = Utils.renderAmount(tx.amount); switch (tx.action) { case 'received':