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

Probe doesn't sort by chronological date #501

Open
encodeuramateur opened this issue Jul 26, 2022 · 2 comments
Open

Probe doesn't sort by chronological date #501

encodeuramateur opened this issue Jul 26, 2022 · 2 comments

Comments

@encodeuramateur
Copy link
Contributor

Guten Tag,

The function who permit to sort rehearsal by chronological date doesn't work.

In file probenview.php / private function writeRehearsalList($data)
I have attempt to split field "when" in two field.
One with date.
Another one with begin and end hour.

However that's doesn't fix the issue.
Sort by year give incoherency result too.

probe
.

Thank you,

@mattimaier
Copy link
Owner

The issue is that the table component that is used does not support to sort by a technical key, e.g. 2022-10-31 18:00, but instead it sorts by the display value which is in German notation not very helpful... Any ideas how to solve that are welcome.

@encodeuramateur
Copy link
Contributor Author

Hallo,

Understand that an format issue between javascript date fomat an php one.
I found this article https://stackoverflow.com/questions/30186611/php-dateformat-to-moment-js-format.

That give some ideas.

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

No branches or pull requests

2 participants