Skip to content

FEAT: Add relative time display (2 hours ago) #649

@andrinoff

Description

@andrinoff

Is your feature request related to a problem? Absolute timestamps harder to parse mentally. "2 hours ago" clearer than "2024-04-17 13:45" for recent emails.

Describe the solution you would like: Show relative time for recent emails:

  • "2 minutes ago"
  • "3 hours ago"
  • "Yesterday"
  • "2 days ago"
  • "Mar 15" (older than week)

Toggle with config option.

Describe alternatives you have considered: Absolute time only (current). Relative improves quick scanning.

Additional context:

  • File: tui/inbox.go
  • Use time.Since() to calculate
  • Fallback to absolute after 7 days
  • Complexity: Easy - time calculation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions