Skip to content

Comments

@W-21100984: Adding slimmer EOL precision for a sandbox when under 24 hours in list view#171

Merged
amit-kumar8-sf merged 4 commits intomainfrom
feature-W-21100984-add-eol-prec
Feb 23, 2026
Merged

@W-21100984: Adding slimmer EOL precision for a sandbox when under 24 hours in list view#171
amit-kumar8-sf merged 4 commits intomainfrom
feature-W-21100984-add-eol-prec

Conversation

@amit-kumar8-sf
Copy link
Collaborator

@amit-kumar8-sf amit-kumar8-sf commented Feb 19, 2026

Summary

Show EOL date with time (YYYY-MM-DD HH:mm UTC) in sandbox list when a sandbox is expiring within 24 hours or has already expired. Sandboxes with EOL further away continue to display date-only (YYYY-MM-DD). This makes near-expiry sandboxes easier to identify at a glance without adding noise to the default view.

Testing

  • Added 5 unit tests in test/commands/sandbox/list.test.ts covering: missing EOL (-), EOL > 24 h (date-only), EOL within 24 h (date + time), already-expired EOL (date + time), and UTC time accuracy.
  • All existing and new tests pass (pnpm --filter @salesforce/b2c-cli run test).
  • CLI reference in docs/cli/sandbox.md updated to reflect the new output format.

Dependencies

  • No net-new third-party dependencies were added

  • Tests pass (pnpm test)
  • Code is formatted (pnpm run format)

@amit-kumar8-sf amit-kumar8-sf force-pushed the feature-W-21100984-add-eol-prec branch from 5ceb454 to a4c4b03 Compare February 19, 2026 18:27
Copy link
Collaborator

@clavery clavery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@amit-kumar8-sf amit-kumar8-sf merged commit b93c2a0 into main Feb 23, 2026
4 checks passed
@amit-kumar8-sf amit-kumar8-sf deleted the feature-W-21100984-add-eol-prec branch February 23, 2026 11:09
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