/[projects]/smsdaemon/Logger.cpp
ViewVC logotype

Diff of /smsdaemon/Logger.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 695 by torben, Thu Apr 29 18:18:18 2010 UTC revision 1011 by torben, Thu Aug 5 06:53:38 2010 UTC
# Line 69  namespace Logger Line 69  namespace Logger
69    
70                  ostringstream out;                  ostringstream out;
71    
72                  out << Months[ now.tm_mon ] << " " << setw(2) << setfill('0') << now.tm_mday;                  
73                    out << (1900+now.tm_year) << "-" << setw(2) << setfill('0') << (now.tm_mon+1) << "-" << setw(2) << setfill('0') << now.tm_mday;
74                  out << " " << setw(2) << setfill('0') << now.tm_hour;                  out << " " << setw(2) << setfill('0') << now.tm_hour;
75                  out << ":" << setw(2) << setfill('0') << now.tm_min;                  out << ":" << setw(2) << setfill('0') << now.tm_min;
76                  out << ":" << setw(2) << setfill('0') << now.tm_sec;                  out << ":" << setw(2) << setfill('0') << now.tm_sec;

Legend:
Removed from v.695  
changed lines
  Added in v.1011

  ViewVC Help
Powered by ViewVC 1.1.20