Commit 663cde8b93

663cde8b9346882906d90623a1618839254e31b6

parent: 4078400b37

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-16 03:26 UTC

Browser sessions: the expiry is idle time, not an end date

Ref #46

Layout: unified · split

gitbay/Views/Account/WebSessionsView.swift +1 −1
@@ -21,7 +21,7 @@ struct WebSessionsView: View {
21 VStack(alignment: .leading, spacing: 3) { 21 VStack(alignment: .leading, spacing: 3) {
22 Text("Used \(session.lastUsedAt.formatted(.relative(presentation: .named)))") 22 Text("Used \(session.lastUsedAt.formatted(.relative(presentation: .named)))")
23 .font(.gbSans(.subheadline)) 23 .font(.gbSans(.subheadline))
24 Text("Signed in \(session.createdAt.formatted(date: .abbreviated, time: .shortened)) · ends \(session.expiresAt.formatted(date: .abbreviated, time: .omitted))") 24 Text("Signed in \(session.createdAt.formatted(date: .abbreviated, time: .shortened)) · signs out \(session.expiresAt.formatted(.relative(presentation: .named))) if unused")
25 .font(.gbSans(.caption2)) 25 .font(.gbSans(.caption2))
26 .foregroundStyle(.secondary) 26 .foregroundStyle(.secondary)
27 Text(session.id) 27 Text(session.id)