fix convertion from []uint8 to time.Time