[
https://issues.apache.org/jira/browse/JSPWIKI-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670058#action_12670058
]
Dirk Frederickx commented on JSPWIKI-480:
-----------------------------------------
Janne,
Excellent suggestion.
The current problem is related to the fact that Javascript will parse the date
based on the locale setting of your browser.
So it doesn't match the user-preference setting.
Since the date can not be parsed properly, the sorting algorithm falls back to
plain string sorting.
A sort_value attribute on the element would be a generic solution.
dirk
> Attachments not correctly sorted
> --------------------------------
>
> Key: JSPWIKI-480
> URL: https://issues.apache.org/jira/browse/JSPWIKI-480
> Project: JSPWiki
> Issue Type: Bug
> Affects Versions: 2.8.1
> Reporter: Bruno Peeters
> Priority: Minor
> Attachments: attachments-sort.jpg, JSPWIKI-480a.png, JSPWIKI-480b.png
>
>
> The list of attachments for a wiki page can be sorted according to date
> modified (up & down). In both cases, the timepart of the datetime is not
> taken into account in the sort.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.