Fix time offset

The time offset is maintained if the type of field is Time