Finally fixed all time/date format bugs