Fix visualization output time

The visualization output still uses seconds rather than years even if
the “Use years in output instead of seconds” parameter is true, this
patch should fix it
Minor fixes to last patch
Merge remote-tracking branch 'upstream/master'
Add missing endline.
Merge pull request #6 from bangerth/master

Add a missing newline.