Frontend implementation of Date & Time Mathesar types #260
Labels
type: enhancement
New feature or request
work: frontend
Related to frontend code in the mathesar_ui directory
Milestone
Requirements
Users should be able to:
DATE
TIME WITH TIME ZONE
TIME WITHOUT TIME ZONE
TIMESTAMP WITH TIME ZONE
TIMESTAMP WITHOUT TIME ZONE
filter data by Date & Time-specific filtering optionsgroup data by Date & Time-specific grouping optionsUpdate:
DB Type Mapping
Date
UI type maps to theDATE
DB type.Time
UI type maps to theTIME WITHOUT TIME ZONE
DB type by default. "Support Time Zones" should be FALSE.TIME WITH TIME ZONE
TIME WITH TIME ZONE
, "Support Time Zones" should be checked and turning it off should convert it toTIME WITHOUT TIME ZONE
.TIMESTAMP WITH TIME ZONE
.Implementation
Design
Backend
/api/v0/tables/
lists the name and DB type of each columns/api/v0/tables/<id/columns/
lists column information in more detail/api/v0/databases/<id>/types/
maps Mathesar types to DB types and provides a list of filtering and grouping options per-type.PATCH
requests to/api/v0/tables/<id>/columns/<id>/
. These updates includetype
)display_options
)Additional Context
TIMESTAMP
data type in the backend #424DATE
data type in the backend #425TIME
data type in the backend #426The text was updated successfully, but these errors were encountered: