Skip to content

DX-2542: fix: show two units of detail in TTL formatter#54

Merged
alitariksahin merged 1 commit intomasterfrom
DX-2542-show-more-ttl-details
May 5, 2026
Merged

DX-2542: fix: show two units of detail in TTL formatter#54
alitariksahin merged 1 commit intomasterfrom
DX-2542-show-more-ttl-details

Conversation

@ytkimirti
Copy link
Copy Markdown
Collaborator

@ytkimirti ytkimirti commented May 4, 2026

TTL of 5,224,972s (~60.4 days) was rendered as 1 month, dropping the rest. Now shows two units, e.g. 1 month 30d.

image

Previously only the first unit was rendered, so a TTL of ~60.4 days
floored to "1 month" and dropped the remaining ~30 days. Render two
parts so the same TTL now reads "1 month 30d", matching user expectation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@linear
Copy link
Copy Markdown

linear Bot commented May 4, 2026

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-redis-browser Ready Ready Preview, Comment May 4, 2026 6:57am

Request Review

@alitariksahin alitariksahin merged commit a597677 into master May 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants