Mercurial > mercurial > hgweb_mover2.cgi
diff src/main.cpp @ 20:d10eafafe31f v2.2dev
dirview delete
author | pyon@macmini |
---|---|
date | Tue, 25 Oct 2011 20:02:55 +0900 |
parents | 9b0840b0be7e |
children | c540dc3eabe5 |
line wrap: on
line diff
--- a/src/main.cpp Tue Oct 25 07:48:39 2011 +0900 +++ b/src/main.cpp Tue Oct 25 20:02:55 2011 +0900 @@ -1,5 +1,5 @@ // Filename : main.cpp -// Last Change: 22-Oct-2011. +// Last Change: 25-Oct-2011. // #include "common.h" @@ -102,7 +102,7 @@ wxDateTime now = wxDateTime::Now(); wxTextFile logfile; logfile.Open(wxT("log")); - logfile.AddLine( now.Format(wxT("%F %T ")) + msg ); + logfile.AddLine( now.Format(wxT("%Y-%m-%d %H:%M:%S ")) + msg ); logfile.Write(); logfile.Close(); }