fixed some time formatting issues