From 0a765cb9ca92740d16a15d3ec6a289fad6288725 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Wed, 29 Jun 2016 11:55:04 +0700 Subject: [PATCH] Fix missing SimpleDateFormat type hint --- src/taoensso/timbre.cljx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/taoensso/timbre.cljx b/src/taoensso/timbre.cljx index db8de6a..8261d42 100644 --- a/src/taoensso/timbre.cljx +++ b/src/taoensso/timbre.cljx @@ -424,7 +424,9 @@ (fn [opts] (delay (let [{:keys [pattern locale timezone]} opts] - (.format (enc/simple-date-format* pattern locale timezone) + (.format + ^java.text.SimpleDateFormat + (enc/simple-date-format* pattern locale timezone) (:instant data))))))] (reduce-kv