Add an option to show seconds in the timestamp

I've made several changes, but this one was separate enough from my other changes that it was trivial to pull out and send upstream.

This optionally adds seconds to the timestamps, if timestamps are shown.