Skip to content

ui: show last seen as relative time - #318

Merged
MiloCasagrande merged 1 commit into
mainfrom
feat/relative-last-seen
Oct 28, 2026
Merged

MiloCasagrande merged 1 commit into
mainfrom
feat/relative-last-seen

Conversation

@MiloCasagrande

Copy link
Copy Markdown
Member

Use a fixed US English and UTC layout for dates. Last seen is now
a relative string up to 7 days, then it shows as a date.

Signed-off-by: Milo Casagrande mcasagra@qti.qualcomm.com

Use a fixed US English and UTC layout for dates. Last seen is now
a relative string up to 7 days, then it shows as a date.

Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
@MiloCasagrande
MiloCasagrande requested a review from doanac October 28, 2026 12:44
@MiloCasagrande

Copy link
Copy Markdown
Member Author

@doanac this shows the timestamp as an US English formatted date, and the "last seen" as a relative time (up to 7 days). I had to make all those UTC values to make it work, the "best" approach would be done with work on localizing the app itself.

I can't upload screenshots from the managed laptop.

@doanac doanac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like forward progress.

@MiloCasagrande
MiloCasagrande merged commit ac677c9 into main Oct 28, 2026
16 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