• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6369: TABLE ascending sort puts 8 before 7

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal No Action Required   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

If I have the following table

%TABLE{sort="on"}%
| *label* | *date* |
| docs | 08/29/2009 |
| docs | 12/08/2009 |
| docs | 01/28/2009 |
| docs | 01/27/2009 |

an ascending sort should show

| docs | 01/27/2009 |
| docs | 01/28/2009 |
| docs | 08/29/2009 |
| docs | 12/08/2009 |

It does not. Instead 01/28/2009 comes before 01/27/2009

  • ascending: screenshot (incorrect sort):
    Item6369-ascending.png

  • descending: screenshot. sort order as expected:
    Item6369-descending.png

-- TWiki:Main/VickiBrown - 08 Dec 2009

Thanks Vicki - this is an issue.

In the above example-its string sorting, and it has issue. I verified on trunk repository code, its an issue.

-- TWiki:Main/SopanShewale - 04 Jan 2010

Date format 12/08/2009 is not supported because it is undefined. It is 8 Dec 2009 in USA and 12 Aug in many other places around the world. Please use ISO dates or any other date documented in TimeSpecifications.

Setting this to no action required.

-- TWiki:Main.PeterThoeny - 04 May 2010

ItemTemplate
Summary TABLE ascending sort puts 8 before 7
ReportedBy TWiki:Main.VickiBrown
Codebase

SVN Range TWiki-5.0.0, Sun, 27 Sep 2009, build 18153
AppliesTo Engine
Component

Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng Item6369-ascending.png r1 manage 11.9 K 2009-12-08 - 21:50 VickiBrown ascending: screenshot (incorrect sort)
PNGpng Item6369-descending.png r1 manage 11.5 K 2009-12-08 - 21:50 VickiBrown descending: screenshot. sort order as expected
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2010-05-04 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback