added %L modifier to PatternFormatter to switch to local time; some style fixes