1
0
Fork 0
forked from lthn/blockchain

#316 re-implemented using get_time_str instead of get_time_str2

This commit is contained in:
sowle 2021-12-31 06:47:22 +03:00
parent 140f43bc5e
commit ca6c7e81e1
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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 << "[";