Skip to content

feat(linux-grid): choose how cells show dates - #4142

Merged
datlechin merged 93 commits into
TableProApp:mainfrom
sedax90:feat/linux-date-format
Nov 10, 2026
Merged

datlechin merged 93 commits into
TableProApp:mainfrom
sedax90:feat/linux-date-format

Conversation

@sedax90

@sedax90 sedax90 commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add six date display choices: ISO 8601, ISO Date, US Long, US Short, EU Long and EU Short. ISO remains the default.
  • Update every open grid, row details, automatic column widths and Find when the format changes.
  • Short formats show the date only. Long formats preserve time and fractional precision; US Long uses a 12-hour clock for time-of-day values.
  • Keep editing, Copy and export in the database format. Fix the shared formatter so leap-second fractions retain their value. Builds on feat(linux-grid): mark zero-width, control and special space characters #4141.

Test plan

  • Add 18 tests, including two core tests, covering dates, timestamps, offsets, fractional seconds, BCE years, leap seconds and durations across formats.
  • Check live updates across grids, isolated settings, refreshed Find results, column widths and canonical editor drafts.
  • Move and expand dates_follow_the_chosen_format_and_iso_leaves_them_alone. Replace the global date-cache assertion in open_grids_follow_the_display_preferences with checks on populated grids.
  • Formatting, XML and writing checks pass. Linux build and runtime test results are pending in CI.

Screenshots

Contributor's original grid with dates in ISO format.

Light Dark
Before
After After, light After, dark

After shots show the Date Format setting. SQLite returns date cells as text, so the SQLite capture cannot show formatted date cells.

sedax90 and others added 21 commits November 8, 2026 14:53
# Conflicts:
#	linux/crates/app/src/services/grid/display_text.rs
# Conflicts:
#	linux/crates/app/src/ui/data_grid/row_detail/fields.rs
# Conflicts:
#	linux/crates/app/src/ui/browse_tab/tests/mod.rs
# Conflicts:
#	linux/crates/app/src/ui/data_grid/display_settings.rs
#	linux/crates/app/src/ui/data_grid/row_detail/fields.rs
#	linux/crates/app/src/ui/data_grid/tests/cells.rs
# Conflicts:
#	linux/crates/app/src/ui/data_grid/columns.rs
#	linux/crates/app/src/ui/data_grid/display_settings.rs
#	linux/crates/app/src/ui/data_grid/tests/columns.rs
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