Skip to content

[hypertable] Updated date format in cell renderer - #273

Open
nathalieArnoux wants to merge 2 commits into
masterfrom
na/dra-2915
Open

[hypertable] Updated date format in cell renderer#273
nathalieArnoux wants to merge 2 commits into
masterfrom
na/dra-2915

Conversation

@nathalieArnoux

Copy link
Copy Markdown
Contributor

What does this PR do?

Changed date format in date cell renderer.

Related to : #dra-2915

What are the observable changes?

Capture d’écran 2026-08-05 à 16 44 26

🧑‍💻 Developer Heads Up

⚡ Since we are using Ember Octane now:

  • Feel free to migrate existing components to Glimmer Components.
  • Write new ones exclusively in it.

Useful Resource : Ember Octane vs Classic Cheat Sheet

Good PR checklist

  • Title makes sense
  • Is against the correct branch
  • Only addresses one issue
  • Properly assigned
  • Added/updated tests
  • Added/updated documentation
  • Migrated touched components to Glimmer Components
  • Properly labeled

Additional Notes

@nathalieArnoux nathalieArnoux self-assigned this Aug 5, 2026
@nathalieArnoux
nathalieArnoux requested review from a team and phndiaye as code owners August 5, 2026 15:12
@nathalieArnoux
nathalieArnoux requested review from Elodie-DeMatteis-Upf and olxmpe and removed request for a team August 5, 2026 15:12
@linear-code

linear-code Bot commented Aug 5, 2026

Copy link
Copy Markdown

DRA-2915

@nathalieArnoux nathalieArnoux changed the title Updated date format in cell renderer [hypertable] Updated date format in cell renderer Aug 5, 2026
assert.equal(this.column.definition.key, 'date');
assert.equal(this.row[this.column.definition.key], '1643386394');
assert.dom().hasText('January 28, 2022');
assert.dom().hasText('Jan 28, 2022');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

question: following your screenshot, shouldn't there be a period (".") after the month? If so it's weird that the test passes as is (IMO it would be worth tightening).

Suggested change
assert.dom().hasText('Jan 28, 2022');
assert.dom().hasText('Jan. 28, 2022');

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The screenshot is not up-to-date, I will update it when possible. Thanks for letting me know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants