Refactored duplication in inflate_timestamps