http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11059

--- Comment #8 from Owen Leonard <[email protected]> ---
I prefer the newer method where the DataTables plugin looks for an
ISO-formatted date in a title attribute. This means that we don't need any
logic around date format. See booksellers.tt for an example. In the DataTables
initialization configuration:

        "aoColumns": [
            null,null,null,null,null,null,{ "sType": "title-string" },{
"sType": "title-string" },null
        ],

...where "sType," the sorting type, is "title-string." This looks for a <span>
with a title attribute containing the unformatted date:

 <td><span title="[% basket.creationdate %]">[% basket.creationdate |
$KohaDates %]</span></td>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to