Fix format of time