# 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/a98f0dfa8d534d8a1885b524632400e52db22ac6/libs/code/deepagents_code/update_check.py#L402)