Skip to content

Refactor: replace valueFormatter with valueGetter for date formatting#331

Merged
cristian-tamblay merged 1 commit into
developfrom
fix/mui-update-bugs
Oct 20, 2025
Merged

Refactor: replace valueFormatter with valueGetter for date formatting#331
cristian-tamblay merged 1 commit into
developfrom
fix/mui-update-bugs

Conversation

@Creylay
Copy link
Copy Markdown
Collaborator

@Creylay Creylay commented Oct 15, 2025

Summary

Fix date field display issue where date columns were not showing properly in DataGrid components. Replaced valueFormatter with valueGetter for consistent date formatting across dataset and model selection tables.

Type of change

  • Bug fix.

Changes

  • Fixed date field display in DatasetsTable component
  • Fixed date field display in ExplorationsTable component
  • Fixed date field display in ExplorationRunner component
  • Fixed date field display in results page initialColumns
  • Replaced valueFormatter: (params) => formatDate(params.value) with valueGetter: (value) => formatDate(value)

How to Test

  1. Navigate to Datasets page and verify Created/Last Modified columns show dates properly
  2. Check Explorations page tables for correct date formatting
  3. Verify Results page shows all date columns (Created, Last Modified, Start, End) correctly
  4. Confirm date fields are readable and properly formatted across all tables

Notes

This fix addresses the issue where date fields were not displaying correctly in DataGrid components due to using deprecated valueFormatter instead of the newer valueGetter API for MUI DataGrid date formatting.

@cristian-tamblay cristian-tamblay merged commit ac63360 into develop Oct 20, 2025
5 checks passed
@cristian-tamblay cristian-tamblay deleted the fix/mui-update-bugs branch October 20, 2025 14:58
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