<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Sorting of date by ascending and descending is incorrect"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116891">bug 116891</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEEDINFO
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Sorting of date by ascending and descending is incorrect"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116891#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Sorting of date by ascending and descending is incorrect"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116891">bug 116891</a>
              from <span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span></b>
        <pre>The "date" is indeed a text. You can verify that quickly with the toggle
shortcut key Ctrl+F8. True numbers and dates are shown in blue.
The file "ActualCSV file stored as XLSX format" has already the dates as text.
Excel considers the file as broken and "repairs" it.

To repair the document in LibreOffice do these steps:
1. Open document
2. Create a new column after column C
3. Copy the entire column C to clipboard
4. Click on newly cell D1
5. Paste the clipboard as "Unformated text". That is one of the options, when
you click on the little triangle at the "Paste" icon. You get a csv-import
dialog.
6. In section "Field" of this dialog click on the column header "Standard".
That activates the drop-down list "Column type".
7. From that list use the item "Date (MDY)".
8. Compare the columns C and D to make sure the content is correctly converted.
9. Delete column C.
10. Do the same with column D "sent_at" and column F "received_at".

Your current workflow which generates this file has these shortcomings:
A. There is no need to wrap CSV data into an Excel fragment. LibreOffice (and
data bases in general) can work with CSV data directly.
B. Never use date in a CSV file in local notation. But always store dates in
ISO format. It will then be read correctly by all application, that use this
CSV file.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>