Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

tablesorter: Date format doesn't work correctly
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: tablesorter: Date format doesn't work correctly
#28122
tablesorter: Date format doesn't work correctly 12 Years, 6 Months ago Karma: 0
Hello,
I use arijtablesorter component but the date doesn't work perfectly. I just tried with an HTML table.
I used dd/mm/yy; but the sorting is not correct. The Year an the day is well sorted (when I incresased or decreased the date), but the month is not well sorted; Could you help me...

<p>{arijtablesorter notSortableCols="0,1" sorter="3:short-date"}</p>
<table border="0">
<thead>
<tr>
<th>Reference</th><th>Object</th><th>Theme</th><th>Date</th>
</tr>
</thead>
<tbody>
<tr>
<td>035BO12</td>
etc...


www.cuneiforme.net/gesac_backup2/en/member-only/memos.html

id: ari
pwd:ari
The administrator has disabled public write access.
 
#28124
Re:tablesorter: Date format doesn't work correctly 12 Years, 6 Months ago Karma: 760
Hello,

The page requires credentials. You can send them by email.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#28132
Re:tablesorter: Date format doesn't work correctly 12 Years, 6 Months ago Karma: 0
I changed the URL to see what happens: www.cuneiforme.net/gesac_backup2/en/home.html

It's just an html table with 4 columns.
{arijtablesorter notSortableCols="0,1" sorter="3:shortDate"}

The date format is: dd/mm/YY; It's sorted well by year, not by months;
25/01/2012 > January should be at the top; now, It's sorted by days first...

This is the right order in Europe/France: days/months/years. Don't ask me to put it in a different order like months/days/years...

How could I manage this?
Last Edit: 2012/05/09 08:06 By Daniel Renders.
The administrator has disabled public write access.
 
#28174
Re:tablesorter: Date format doesn't work correctly 12 Years, 6 Months ago Karma: 760
Download and upgrade the component and use the next code:

Code:


{arijtablesorter notSortableCols="0,1" sorter="3:shortDate" dateFormat="uk"}



instead of:

Code:


{arijtablesorter notSortableCols="0,1" sorter="3:shortDate"}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#28207
Re:tablesorter: Date format doesn't work correctly 12 Years, 6 Months ago Karma: 0
It works well now. Thanks.
The administrator has disabled public write access.
 
Go to topPage: 1