https://bugs.documentfoundation.org/show_bug.cgi?id=89609
Christian Lohmaier <cloph@documentfoundation.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cloph@documentfoundation.or
| |g,
| |libreoffice@lists.freedeskt
| |op.org
Summary|strange date-information |Explorer shell extension
|stored files Windows 8.1 |fails to convert date into
| |locale specific string
| |(sub-second precision ISO
| |date → "strange
| |date-information")
Whiteboard| |EasyHack DifficultyBeginner
| |SkillCpp
--- Comment #3 from Christian Lohmaier <cloph@documentfoundation.org> ---
Code that retrieves the date for the tooltip is in
http://opengrok.libreoffice.org/xref/core/shell/source/win32/shlxthandler/infotips/infotips.cxx#258
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
http://opengrok.libreoffice.org/xref/core/shell/source/win32/shlxthandler/util/iso8601_converter.cxx#iso8601_date_to_local_date
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
Context
- [Bug 89609] Explorer shell extension fails to convert date into locale specific string (sub-second precision ISO date → "strange date-information") · bugzilla-daemon
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.