Time formatting fix