You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Default session title should use local time instead of UTC (Z) #22781
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When a new session is created, the default title is formatted as:
New session - 2026-04-15T03:20:00.000Z
The Z suffix means this timestamp is in UTC (GMT+0). However, the "last modified" time shown in the session list uses local time. This inconsistency is confusing — the title makes it look like the session was created hours ago (or in the future) depending on your timezone.
Suggestion: Use local time instead of UTC in the default session title, e.g.:
New session - 2026-04-15T11:20:00
The fix would be in packages/opencode/src/session/session.ts, replacing new Date().toISOString() with a local time formatter. Happy to submit a PR if this direction sounds good.
Reacted by lucashsiang, ultrangson and Hans Deragon
changed the title [-]Default session title uses UTC timestamp instead of local time[/-][+][FEATURE]: Default session title uses UTC timestamp instead of local time[/+]on Apr 16, 2026
changed the title [-][FEATURE]: Default session title uses UTC timestamp instead of local time[/-][+][FEATURE]: Default session title should use local time instead of UTC (Z)[/+]on Apr 16, 2026
This issue has been posted and open for quite a while and has caused significant inconvenience for users in non-UTC timezones. The fix is straightforward and well-defined. Hope the technical experts can prioritize and address it soon. Thanks!
Activity
[-]Default session title uses UTC timestamp instead of local time[/-][+][FEATURE]: Default session title uses UTC timestamp instead of local time[/+]github-actions commentedon Apr 16, 2026
Thanks for updating the issue! It now follows the contributing guidelines. We appreciate you taking the time to fix it.
[-][FEATURE]: Default session title uses UTC timestamp instead of local time[/-][+][FEATURE]: Default session title should use local time instead of UTC (Z)[/+]v4ever1luv commentedon Jun 2, 2026
PR #30350 has been submitted which addresses this feature request by replacing toISOString() with local-time formatting in session.ts.
ultrangson commentedon Jul 25, 2026
This issue has been posted and open for quite a while and has caused significant inconvenience for users in non-UTC timezones. The fix is straightforward and well-defined. Hope the technical experts can prioritize and address it soon. Thanks!
github-actions commentedon Sep 25, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.