Fixed a small issue with multi-threading (SimpleDateFormat is not
thread-safe)