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

Incorrect documentation for shortDate referencing time. #1855

Open
StephenLongville opened this issue Oct 29, 2024 · 0 comments
Open

Incorrect documentation for shortDate referencing time. #1855

StephenLongville opened this issue Oct 29, 2024 · 0 comments

Comments

@StephenLongville
Copy link

StephenLongville commented Oct 29, 2024

I've been trying to use shortDate with time, but the documentation appears to be misleading.

https://mottie.github.io/tablesorter/docs/#parsers
image

It states the format can be followed by a time, however not only are there no examples, but if you do include a time format, the sort just doesn't work. When debugging it appears that the time aspect is not accounted for at all within the regex tests.

Custom parser is the way to go, however the docs need updating.

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

1 participant