Skip to content

Start/end timezone indicator#243

Merged
sigmachirality merged 4 commits intomainfrom
cursor/start-end-timezone-indicator-0224
Feb 6, 2026
Merged

Start/end timezone indicator#243
sigmachirality merged 4 commits intomainfrom
cursor/start-end-timezone-indicator-0224

Conversation

@sigmachirality
Copy link
Member

@sigmachirality sigmachirality commented Jan 31, 2026

Add timezone indicators to the "soonest" and "max" column headers in sf zones ls to clarify the displayed times.

The "START/END" columns were interpreted as "soonest" and "max" which represent start times. A getTimezoneAbbreviation() function was added to detect the user's local timezone (e.g., PST) or default to UTC. The timezone abbreviation is displayed in yellow for better visibility.

image

Slack Thread

Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Jan 31, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@semanticdiff-com
Copy link

semanticdiff-com bot commented Jan 31, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  src/lib/nodes/utils.ts  6% smaller
  src/lib/nodes/list.tsx  0% smaller

- Add timezone detection using dayjs timezone plugin
- Display user's local timezone abbreviation (e.g., PST, EST) in START/END column
- Use yellow color for timezone indicator to distinguish from other column headers
- Apply to both table view and verbose VM History view
- Show UTC when in UTC timezone, local timezone otherwise

Co-authored-by: Daniel Tao <danieltaox@gmail.com>
@cursor cursor bot force-pushed the cursor/start-end-timezone-indicator-0224 branch from b57e518 to f2ad6f1 Compare February 6, 2026 04:54
cursoragent and others added 3 commits February 6, 2026 04:55
Co-authored-by: Daniel Tao <danieltaox@gmail.com>
…eturn value

- Moved the getTimezoneAbbreviation function from list.tsx to utils.ts for better modularity.
- Updated the function to return null instead of "UTC" when unable to determine the timezone.
- Adjusted the display logic in the VM table to conditionally render the timezone abbreviation.
@sigmachirality sigmachirality marked this pull request as ready for review February 6, 2026 05:12
@sigmachirality sigmachirality merged commit 2a45c24 into main Feb 6, 2026
1 check 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