# format_release_age

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/update_check/format_release_age)

Return a human-readable age for `version` (e.g., `'released 3d ago'`).

Returns an empty string when the upload time is unknown (cache entry
lacks `release_times` for this version, or a `None` version) so callers
can concatenate unconditionally.

## Signature

```python
format_release_age(
    version: str | None,
) -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/3812967c84d90619848f3185f22470204fc88bd8/libs/code/deepagents_code/update_check.py#L994)