Skip to content

Session date/time is displayed as 56 years ago (1970) in session picker #2376

@LouisFaure

Description

@LouisFaure

Describe the bug

In GitHub Copilot CLI, the date/time shown for sessions in the --resume picker is offset by ~56 years (1970), even though the actual event logs and JSON files show the correct current timestamps. This makes it confusing to identify recent sessions. All session-related files appear to contain valid 2026 timestamps, and the filesystem modification times are also correct.

Affected version

copilot --version output: v1.0.12

Steps to reproduce the behavior

  1. Create and use a new session in Copilot CLI
  2. Run copilot --resume
  3. Observe that the session is listed as being from "56 years ago" or Jan 1970, even though all session files have correct dates

Expected behavior

Session picker in copilot --resume should display the actual/modern session date and time, matching the event and snapshot logs.

Additional context

Tested on Linux. All session state, event logs, and snapshots have correct (2026) timestamps. The only incorrect date appears in the session resume UI. Issue persists after cleaning empty/corrupt session folders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions