Skip to content
New issue

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

Date display vs. sorting #328

Closed
aeberhart opened this issue Apr 11, 2024 · 2 comments
Closed

Date display vs. sorting #328

aeberhart opened this issue Apr 11, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aeberhart
Copy link
Contributor

The FAQ suggests to do date or currency formatting on a SQL level:

How can I format dates or currency in tables? This can be done on the database query level. If you're using PostgreSQL for instance, this query will format the "born" and "salary" columns accordingly (assuming their database type is date and int): select to_char(born, 'DD-MON-YYYY'), cast(salary as money) from employee.

This breaks table sorting because the type is "string" rather than "date"

@aeberhart
Copy link
Contributor Author

aeberhart commented Jun 3, 2024

There are a couple of options:

@aeberhart aeberhart added the enhancement New feature or request label Jun 3, 2024
@aeberhart
Copy link
Contributor Author

aeberhart commented Jun 3, 2024

Issues:

  • support date, time and datetime inputs and display
  • in JSONata expressions, support date, time and datetime
  • support sorting of data that is displayed via helper objects

aeberhart added a commit that referenced this issue Jun 3, 2024
@aeberhart aeberhart added this to the 5.2 milestone Jun 3, 2024
@aeberhart aeberhart self-assigned this Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant