package pl.brightinventions.slf4android;

import java.text.SimpleDateFormat;

class DateValueSupplier implements LoggerPatternValueSupplier {
    private static ThreadLocal<SimpleDateFormat> dateFormat = new ThreadLocal<SimpleDateFormat>() {
        @Override
        protected SimpleDateFormat initialValue() {
            return new SimpleDateFormat("yyyy.MM.dd HH:mm:ss.SSS");
        }
    };

    @Override
    public void append(LogRecord record, StringBuilder builder) {
        String formatted = dateFormat.get().format(record.getDate());
        builder.append(formatted);
    }
}

@@ -69,16 +69,41 @@
 eFormat;
+%0Aimport java.util.Locale;
 %0A%0Aclass 
@@ -395,16 +395,27 @@
 :ss.SSS%22
+, Locale.US
 );%0A     

Fix lint warning about locale