Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3931

Wrong sorting snapshots by build date

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Measures
    • Labels:

      Description

      I have a Sonar 3.3 instance localized in Spanish (sonar-l10n-es-plugin-1.7).

      In a filter, when I try to sort snapshots by build date, they are incorrectly sorted.

      My guess is that dates are compared alphabetically using 'm/d/yy' pattern instead being compared as dates. Is this possible?

      The table below shows wrongly sorted snapshots resulting of sorting them by build date (1st column) and the same value in 'm/d/yy' format, omitting time (2n column). Remark that today snapshots are in the middle of the table.

      Showed build date in the filter build date using 'm/d/yy' pattern  
      28-sep-12 28/9/12  
      25-sep-12 25/9/12  
      24-sep-12 24/9/12  
      20-sep-12 20/9/12  
      20-sep-12 20/9/12  
      20-sep-12 20/9/12  
      19-sep-12 19/9/12  
      19-sep-12 19/9/12  
      14-sep-12 14/9/12  
      12-sep-12 12/9/12  
      06-ago-12 6/8/12  
      29-ago-12 29/8/12  
      20-ago-12 20/8/12  
      02-ago-12 2/8/12  
      01-ago-12 1/8/12  
      09-jul-12 9/7/12  
      04-jul-12 4/7/12  
      30-jul-12 30/7/12  
      30-jul-12 30/7/12  
      03-jul-12 3/7/12  
      25-jul-12 25/7/12  
      24-jul-12 24/7/12  
      16-jul-12 16/7/12  
      12-jul-12 12/7/12  
      12-jul-12 12/7/12  
      12-jul-12 12/7/12  
      07-jun-12 7/6/12  
      07-jun-12 7/6/12  
      06-jun-12 6/6/12  
      06-jun-12 6/6/12  
      29-jun-12 29/6/12  
      22-jun-12 22/6/12  
      13-jun-12 13/6/12  
      31-may-12 31/5/12  
      28-may-12 28/5/12  
      21-may-12 21/5/12  
      16-may-12 16/5/12  
      15-may-12 15/5/12  
      14-may-12 14/5/12  
      30-abr-12 30/4/12  
      19-abr-12 19/4/12  
      19-abr-12 19/4/12  
      08-mar-12 8/3/12  
      05-mar-12 5/3/12  
      05-mar-12 5/3/12  
      30-mar-12 30/3/12  
      22-mar-12 22/3/12  
      15-mar-12 15/3/12  
      12-mar-12 12/3/12  
      07-feb-12 7/2/12  
      28-feb-12 28/2/12  
      23-feb-12 23/2/12  
      23-feb-12 23/2/12  
      23-feb-12 23/2/12  
      14-feb-12 14/2/12  
      13-feb-12 13/2/12  
      13:51 05/11/12 Today snapshot
      13:02 05/11/12 Today snapshot
      04-oct-12 4/10/12  
      31-oct-12 31/10/12  
      30-oct-12 30/10/12  
      30-oct-12 30/10/12  
      23-oct-12 23/10/12  
      23-oct-12 23/10/12  
      23-oct-12 23/10/12  
      02-oct-12 2/10/12  
      19-oct-12 19/10/12  
      18-oct-12 18/10/12  
      17-oct-12 17/10/12  
      17-oct-12 17/10/12  
      16-oct-12 16/10/12  
      16-oct-12 16/10/12  
      11-oct-12 11/10/12  
      11-oct-12 11/10/12  
      26-ene-12 26/1/12  
      25-ene-12 25/1/12  
      13-sep-11 13/9/11  
      12-jul-11 12/7/11  
      08-jun-11 8/6/11  
      03-jun-11 3/6/11  
      22-jun-11 22/6/11  
      28-nov-11 28/11/11  
      28-nov-11 28/11/11  
      22-nov-11 22/11/11  
      06-oct-11 6/10/11  
      03-oct-11 3/10/11  
      27-oct-11 27/10/11  

        Attachments

          Activity

            People

            Assignee:
            freddy.mallet Freddy Mallet (Inactive)
            Reporter:
            jmcubel Jose Maria Cubel
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: