Fixing time formatting when it's over 24 hours.