Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
actually render live roundtrip dates, fix #2332
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jul 21, 2018
1 parent 677e58e commit 3340b0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion strategies/DEBUG_toggle-advice.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var method = {
update: _.noop,
log: _.noop,
processTrade: function(trade) {
console.log('TRADE RECEIVED BY processTrade:', trade);
log.debug('TRADE RECEIVED BY processTrade:', trade);
},
check: function(candle) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default {
if(_.isNumber(date)) {
mom = moment.unix(date);
} else {
mom = moment(mom).utc();
mom = moment(date).utc();
}
return mom.utc().format('YYYY-MM-DD HH:mm');
Expand Down

0 comments on commit 3340b0c

Please sign in to comment.