Fix mistake during refactoring time formatting