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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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 - won't sort date in format dd.mm.YYYY
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: tablesorter - won't sort date in format dd.mm.YYYY
*
#36244
tablesorter - won't sort date in format dd.mm.YYYY 11 Years, 5 Months ago Karma: 0
Hello,

I can't get ARI Data Tables to sort my table by date in the format dd.mm.YYYY

You can find the table here:
www.tobias-knaack.de/index.php/sport/training-2013

I'm talking about the table called "Laufen"

The line with the date of 13.02.2013 is supposed to be at the top.

I'm getting the data from a mysql database where the date field has the MySQL Type of "DATE". The format of the date is converted
in the SQL query field of ARI Date Tables with this query:


SELECT
DATE_FORMAT(Datum,'%d.%m.%Y'),
Uhrzeit,
Sportart,...


I think I tried everything to get the table working. I tried all sorting type's for the date field, but the results are in the wrong order. I received the best result when I set sorting type to "text". When I tried the others the table is mixed up even more.

my settings for the sorting:


I hope you can help me.

Thanks in advance
Tobias Knaack
The administrator has disabled public write access.
 
#36245
Re:tablesorter - won't sort date in format dd.mm.YYYY 11 Years, 5 Months ago Karma: 748
Hello,

It is possible to sort data in d-m-Y format. For this set "Sorting type" parameter to "Short date" value.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#36246
Re:tablesorter - won't sort date in format dd.mm.YYYY 11 Years, 5 Months ago Karma: 0
Thanks for your fast answer,

I changed the sorting type to short date, but the order of the date's doesn't change.

Thanks
Tobias
The administrator has disabled public write access.
 
#36318
Re:tablesorter - won't sort date in format dd.mm.YYYY 11 Years, 5 Months ago Karma: 748
Donwload and upgrade "ARI Data Tables" module. After this set "ARI Table Sorter -> Date format" parameter to "UK format".

Regards,
ARI Soft
The administrator has disabled public write access.
 
#36399
Re:tablesorter - won't sort date in format dd.mm.YYYY 11 Years, 5 Months ago Karma: 0
Thank you for your great and fast work!

Now the sorting works the way I wanted it to do.
I never had a support for any software that was as great as yours.

But I still have one thing that could be done. It would be great if
you could insert a german date format witch uses the dot instead of
the dash as divider. That is the usual way german people write dates.
23.05.2013 for example. But this is not urgent.

Thanks for your support
Tobias
The administrator has disabled public write access.
 
#36403
Re:tablesorter - won't sort date in format dd.mm.YYYY 11 Years, 5 Months ago Karma: 748
Thank you for your suggestion. We will take it into account.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1