<html>
    <head>
      <base href="https://bugs.documentfoundation.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:cloph@documentfoundation.org" title="Christian Lohmaier <cloph@documentfoundation.org>"> <span class="fn">Christian Lohmaier</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Explorer shell extension fails to convert date into locale specific string (sub-second precision ISO date → "strange date-information")"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=89609">bug 89609</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;">CC</td>
           <td>
                
           </td>
           <td>cloph@documentfoundation.org, libreoffice@lists.freedesktop.org
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Summary</td>
           <td>strange date-information stored files Windows 8.1
           </td>
           <td>Explorer shell extension fails to convert date into locale specific string (sub-second precision ISO date → "strange date-information")
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Whiteboard</td>
           <td>
                
           </td>
           <td>EasyHack DifficultyBeginner SkillCpp
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Explorer shell extension fails to convert date into locale specific string (sub-second precision ISO date → "strange date-information")"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=89609#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Explorer shell extension fails to convert date into locale specific string (sub-second precision ISO date → "strange date-information")"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=89609">bug 89609</a>
              from <span class="vcard"><a class="email" href="mailto:cloph@documentfoundation.org" title="Christian Lohmaier <cloph@documentfoundation.org>"> <span class="fn">Christian Lohmaier</span></a>
</span></b>
        <pre>Code that retrieves the date for the tooltip is in 

<a href="http://opengrok.libreoffice.org/xref/core/shell/source/win32/shlxthandler/infotips/infotips.cxx#258">http://opengrok.libreoffice.org/xref/core/shell/source/win32/shlxthandler/infotips/infotips.cxx#258</a>

where it gets the modified date and tries to convert it into a local
representation by calling the corresponding helper function:

 msg +=
iso8601_date_to_local_date(meta_info_accessor.getTagData(META_INFO_MODIFIED ));

However, iso8601_date_to_local_date as implemented here

<a href="http://opengrok.libreoffice.org/xref/core/shell/source/win32/shlxthandler/util/iso8601_converter.cxx#iso8601_date_to_local_date">http://opengrok.libreoffice.org/xref/core/shell/source/win32/shlxthandler/util/iso8601_converter.cxx#iso8601_date_to_local_date</a>

doesn't expect sub-second precision date-string, but instead only expects 19
characters.

As the passed date is longer, the function doesn't do anything and instead
returns the ISO date as it was passed into.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>