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:
@@ -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") + ":" +
|
||||
|
||||
Reference in New Issue
Block a user