Changeset 11392 for trunk/FACT++/gui


Ignore:
Timestamp:
07/14/11 08:55:49 (13 years ago)
Author:
tbretz
Message:
Added milliseconds to time output.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r11371 r11392  
    21182118
    21192119            out << "<font size='-1' color='navy'>[<B>";
    2120             out << Time::fmt("%H:%M:%S") << time << "</B>]</FONT>  ";
    2121             out << text.substr(6);
     2120            out << time.GetAsStr("%H:%M:%S");
     2121            out << "</B>]</FONT>  " << text.substr(6);
    21222122            fChatText->append(out.str().c_str());
    21232123
     
    21522152        default:       out << "navy";    break;
    21532153        }
    2154         out << "'>" << time.GetAsStr() << " - " << text << "</font>";
     2154        out << "'>";
     2155        out << time.GetAsStr("%H:%M:%S.%f").substr(0,12);
     2156        out << " - " << text << "</font>";
    21552157
    21562158        fLogText->append(out.str().c_str());
     
    21932195
    21942196        stringstream out;
    2195         out << "<font size'-1' color='navy'>[" << Time::fmt("%H:%M:%S.%f") << tm << "]</font>   <B>" << info.getName() << "</B> - ";
     2197        out << "<font size'-1' color='navy'>[";
     2198        out << tm.GetAsStr("%H:%M:%S.%f").substr(0,12);
     2199        out << "]</font>   <B>" << info.getName() << "</B> - ";
    21962200
    21972201        bool iserr = true;
Note: See TracChangeset for help on using the changeset viewer.