From 59534c1ee6fb36131f4e5feabeb8fc4e5297155f Mon Sep 17 00:00:00 2001 From: Jamie Doornbos Date: Thu, 25 Sep 2008 21:21:23 +0000 Subject: [PATCH] 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 --- src/as/com/threerings/util/Log.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/as/com/threerings/util/Log.as b/src/as/com/threerings/util/Log.as index c2d4ac5d7..2ec6256d2 100644 --- a/src/as/com/threerings/util/Log.as +++ b/src/as/com/threerings/util/Log.as @@ -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") + ":" +