shorten the timestamp