Commit 9aa0f84a authored by Matt Tucker's avatar Matt Tucker Committed by matt

Format timestamp using configured time zone (JM-521).

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3302 b35dd754-fafc-0310-a699-88a17e54d16e
parent 302a51fd
......@@ -18,6 +18,7 @@ import org.jivesoftware.wildfire.audit.AuditManager;
import org.jivesoftware.wildfire.audit.Auditor;
import org.jivesoftware.util.LocaleUtils;
import org.jivesoftware.util.Log;
import org.jivesoftware.util.JiveGlobals;
import org.xmpp.packet.IQ;
import org.xmpp.packet.Message;
import org.xmpp.packet.Packet;
......@@ -255,7 +256,7 @@ public class AuditorImpl implements Auditor {
element.addAttribute("status", "unknown");
break;
}
element.addAttribute("timestamp", new Date().toString());
element.addAttribute("timestamp", JiveGlobals.formatDateTime(new Date()));
element.add(packet.getElement());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment