MCPcopy Create free account
hub / github.com/ElementsProject/elements / formatTxDate

Method formatTxDate

src/qt/transactiontablemodel.cpp:342–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342QString TransactionTableModel::formatTxDate(const TransactionRecord *wtx) const
343{
344 if(wtx->time)
345 {
346 return GUIUtil::dateTimeStr(wtx->time);
347 }
348 return QString();
349}
350
351/* Look up address in address book, if found return label (address)
352 otherwise just return (address)

Callers

nothing calls this directly

Calls 1

dateTimeStrFunction · 0.85

Tested by

no test coverage detected