forked from lthn/blockchain
#316 re-implemented using get_time_str instead of get_time_str2
This commit is contained in:
parent
140f43bc5e
commit
ca6c7e81e1
2 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ DISABLE_VS_WARNINGS(4996)
|
|||
POP_VS_WARNINGS
|
||||
|
||||
if(pt)
|
||||
strftime( tmpbuf, 199, "%Y-%m-%d %H:%M:%S", pt );
|
||||
strftime( tmpbuf, 199, "%Y-%m-%d %H-%M-%S", pt );
|
||||
else
|
||||
{
|
||||
std::stringstream strs;
|
||||
|
|
|
|||
|
|
@ -3258,7 +3258,7 @@ void wallet2::get_recent_transfers_history(std::vector<wallet_public::wallet_tra
|
|||
|
||||
void wallet2::wti_to_csv_entry(std::ostream& ss, const wallet_public::wallet_transfer_info& wti, size_t index) {
|
||||
ss << index << ",";
|
||||
ss << epee::misc_utils::get_time_str_v2(wti.timestamp) << ",";
|
||||
ss << epee::misc_utils::get_time_str(wti.timestamp) << ",";
|
||||
ss << print_money(wti.amount) << ",";
|
||||
ss << "\"" << wti.comment << "\",";
|
||||
ss << "[";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue