Tags:
create new tag
view all tags

Question

I believe I have found a bug within (at least) the EditTablePlugin in the current and previous versions.

See CarlGherardi under Q & D test. I'm using an older version of twiki internally, but i'll use my page for displaying the bug.

Using the link https://twiki.org/cgi-bin/view/Main/CarlGherardi?sortcol=3;table=2;up=0#sorted_table

ie. Sorting the table by date, using the Australian date format dd-mm-yyyy gives a table sorted only by 'dd'. Using the link above you can clearly see that neither the month or the year are sorted correctly.

Thanks

Carl Gherardi

Edit: Table code from my page on this page. Bug version of this page https://twiki.org/cgi-bin/view/Support/BugreportEditTablePluginSortIssue?sortcol=3;table=1;up=0#sorted_table

Head1 Head 2 Head 3 Date blank
Name One Bork 40 01/01/2007  
Name Two Stuff 60 14/06/2009  
Name Three Blank 30 10/02/2008  
Name Four Random 40 17/08/2008  
Name Five Random 40 13/01/2007  

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Plugins

-- CarlGherardi - 23 May 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

10/02/2008 is undefined. In Europe it is 10 Feb 2008, in Australia it is 02 Oct 2008. So, not sorting on this date format is probably a feature, not a bug. ISO dates (Wikipedia:ISO_8601) are unambiguous, and sort properly too.

-- PeterThoeny - 23 May 2007

The EditTablePlugin date format doesn't appear to allow me to specify 10 Feb 2008. In the interim the ISO date format will suffice.

-- CarlGherardi - 24 May 2007

You can control the default date format of the EditTablePlugin. See the docs in JSCalendarContrib.

-- PeterThoeny - 24 May 2007

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2020-04-26 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.