Skip to content

fix: show API key timestamps as relative time - #18

Merged
Jawnnypoo merged 1 commit into
mainfrom
fix/api-keys-relative-time
Sep 8, 2026
Merged

fix: show API key timestamps as relative time#18
Jawnnypoo merged 1 commit into
mainfrom
fix/api-keys-relative-time

Conversation

@VeldtJumper

Copy link
Copy Markdown
Contributor

Summary

The API keys screen was formatting Created and Last used with formatDateTime (full date-time), while the rest of the app — home, app detail, release detail — uses formatRelativeTime (e.g. "10 days ago", "one week ago").

This swaps the API keys screen to formatRelativeTime for consistency:

  • Created Jan 5, 2026, 3:12 PMCreated 8 months ago
  • Last used Jul 22, 2026, 1:04 PMLast used one week ago

Test Plan

  • Existing RelativeTimeFormatTest covers the formatter (no changes needed)
  • Android unit tests / lint via CI
  • Web targets via CI

The API keys screen was formatting Created/Last used with a full
date-time while the rest of the app (home, app detail, release detail)
uses formatRelativeTime. Swap to formatRelativeTime for consistency,
e.g. "10 days ago".
@Jawnnypoo
Jawnnypoo merged commit 6cdbe16 into main Sep 8, 2026
1 check 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