Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-57426

Unable to sort by date a table column when user profile is using non-English language

    XMLWordPrintable

Details

    Description

      Summary

      Unable to sort by date a table column when user profile is using non-English language

      Steps to Reproduce

      1. Change your user profile to use Spanish
      2. Create a page, with a table and one of the columns has dates in it
        <p class="auto-cursor-target">
          <br/>
        </p>
        <table>
          <colgroup> <col/> <col/> </colgroup>
          <tbody>
            <tr>
              <th>Number</th>
              <th>date</th>
            </tr>
            <tr>
              <td>1</td>
              <td>
                <div class="content-wrapper">
                  <p>
                    <time datetime="2018-10-23"/> </p>
                </div>
              </td>
            </tr>
            <tr>
              <td>2</td>
              <td>
                <div class="content-wrapper">
                  <p>
                    <time datetime="2018-10-25"/> </p>
                </div>
              </td>
            </tr>
            <tr>
              <td>3</td>
              <td>
                <div class="content-wrapper">
                  <p>
                    <time datetime="2018-10-04"/> </p>
                </div>
              </td>
            </tr>
            <tr>
              <td>4</td>
              <td>
                <div class="content-wrapper">
                  <p>
                    <time datetime="2018-09-04"/> </p>
                </div>
              </td>
            </tr>
            <tr>
              <td colspan="1">5</td>
              <td colspan="1">
                <div class="content-wrapper">
                  <p>
                    <time datetime="2018-11-22"/> </p>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
        <p>
          <br/>
        </p>
        <p>
          <br/>
        </p>
        
        
      3. Try to sort the columns containing the dates

      Expected Results

      Table should be sorted correctly according to the date as it's when the user profile is in English

      Actual Results

      Dates are not sorted correctly.

      Notes

      Sorting works correctly when user profile is set to English

      Attachments

        Activity

          People

            Unassigned Unassigned
            oraissi Omar Raissi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: