extensions: Add helper for formatting pretty dates