move timestamp_repr under writer