Format time manually, and also for GameStateVisualizer

Forgot the gamestatevisualizer in previous commit. Also just do the calculation manually, to avoid this issue altogether