We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Duration Mathesar type supports the following display options:
We will combine this into a single format string.
format
(1) We should store these display options in the following format in the display_options field of the corresponding column.
display_options
{ "format": "HH:mm:ss.SSS" }
(2) We should also validate these so that:
(3) If the column type is changed, the display options should be deleted.
(4) We should add supported display options to the types endpoint.
types
Column
The text was updated successfully, but these errors were encountered:
silentninja
Successfully merging a pull request may close this issue.
Problem
The Duration Mathesar type supports the following display options:
We will combine this into a single
format
string.Solution
(1) We should store these display options in the following format in the
display_options
field of the corresponding column.(2) We should also validate these so that:
format
should be a valid JavaScript duration format.(3) If the column type is changed, the display options should be deleted.
(4) We should add supported display options to the
types
endpoint.Additional Context
Column
Django model with support for display options #658The text was updated successfully, but these errors were encountered: