Fixed a bug in the SimpleDateTime format string
Per-thread SimpleDateTime to work around the thread-unsafety.