-
Notifications
You must be signed in to change notification settings - Fork 5
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
table is not sorted by date #47
Comments
@AndyIggi can you provide a complete snippet that reproduces this? It would speed things for me. |
@AndyIggi yes, but as a code block from the table-generating text only, not a pasted image :D |
|
Hi FyiurAmron, do you have any news regarding the Problem? |
@AndyIggi sorry, I'm basically swamped with work ATM. I'll do take a look at it as soon as I'm able to, though, probably in the couple of coming weeks. Any debugging help is welcome, though. |
@AndyIggi
Tested and works with the following table syntax:
Date format Cheers! |
@FyiurAmron |
@Chris75forumname well, you're not wrong, but you're not right. The current sorting is done via
in practice, it usually accepts legacy formats (based on browser etc.), such as:
IMVHO this should be still fixed here in the plugin to allow passing the formatting string for dates and to use locale-based default format for this, but the exact implementation of the fix is TBD. |
@FyiurAmron |
We have now also implemented the "workaround", so it now also works with DD.MM.YYYY. Can the plugin generally be extended to use the EU spelling (DD.MM.YYYY)? |
@LMS235 yes, and it shouldn't be too difficult to support _some) attempts to guess the most obvious formats TBH (via a regex e.g.), but the key issues are twofold: 1. my time limits (I'm basically devoid of any free time to spend on OSS pet projects now), 2. my strong preference to do a proper solution, which basically isn't possible without an external library or some kludges, see tc39/ecma402#342 (comment) etc. for the discussion. |
Hello,
we have a medium sized table (8 colums, 44 rows). In the column 7 are different dates inserted in format dd.mm.yyyy
The syntax <sortable7 7=date> is inserted .
Problem: I have tested and found out that, as soon as the table is bigger then 3 rows the sortable function by date is not working anymore.
Could you check/help me in this case?
The text was updated successfully, but these errors were encountered: