Extracted some logic for calculating pretty meeting duration into its own function