Fixing time bug in log viewer