I, [2010-03-03 14:31:31#66665] INFO -- : %Y-%m-%d %H:%M:%S
Tried in ruby 1.9.1 and 1.8.7 with same results. What am I missing?
Ok, I'll play along - what exactly where you expecting? You seem to have
gotten exactly what you requested? Are you assuming that %H is hours on a 12
hour clock? If so you are looking for %I - %H is 24 hour clock ( class Time - RDoc Documentation)
Figured it out. When you override the formatter, it's not passing
along the datetime formated to the formatter. There is a
Formatter.format_datetime or format the datetime object yourself.