Commit e85a8966 authored by Jonathan Shahen's avatar Jonathan Shahen
Browse files

[HOTFIX] displaying time in 24 hour time

parent 86dc873f
......@@ -14,7 +14,7 @@ import org.apache.commons.lang3.StringEscapeUtils;
*/
public class CSVFileFormatter extends Formatter {
public final static Logger logger = Logger.getLogger("mohawk");
private static final DateFormat df = new SimpleDateFormat("yyyy/MM/dd hh:mm:ss.SSSZ");
private static final DateFormat df = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss.SSSZ");
public String format(LogRecord record) {
StringBuilder builder = new StringBuilder(1000);
......
......@@ -14,7 +14,7 @@ import org.apache.commons.lang3.text.WordUtils;
*/
public class ConsoleFormatter extends Formatter {
public final static Logger logger = Logger.getLogger("mohawk");
private static final DateFormat df = new SimpleDateFormat("yyyy/MM/dd hh:mm:ss.SSSZ");
private static final DateFormat df = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss.SSSZ");
public Integer padLeft = Level.WARNING.toString().length() + 1;
public Integer maxWidth = 0;
public String newLineStr = "\n ";
......
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