reworked time formatting