May as well go totally ISO with date stamp, same as log4j %d

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5396 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jamie Doornbos
2008-09-25 21:21:23 +00:00
parent 46e0585e0a
commit 59534c1ee6
+2 -2
View File
@@ -279,8 +279,8 @@ public class Log
// return d.toLocaleTimeString();
// format it like the date format in our java logs
return d.fullYear + "/" +
StringUtil.prepad(String(d.month + 1), 2, "0") + "/" +
return d.fullYear + "-" +
StringUtil.prepad(String(d.month + 1), 2, "0") + "-" +
StringUtil.prepad(String(d.date), 2, "0") + " " +
StringUtil.prepad(String(d.hours), 2, "0") + ":" +
StringUtil.prepad(String(d.minutes), 2, "0") + ":" +