[Libreoffice-bugs] [Bug 100961] After inserting Fixed Date, and saving in DOC format, the date is not fixed anymore

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 14 10:26:12 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=100961

--- Comment #22 from Justin L <jluth at mail.com> ---
I'm not going to do the last step of importing into DOC. 
a.) It seems to require UNO garbage, and I can't stand working with that junk
unless I can just copy/paste - which I have no examples to find here.
b.) All the plumbing for turning a date-or-time-string into a DateTime is
mostly missing. Sure, there is convertStringToNumber from
https://cgit.freedesktop.org/libreoffice/core/commit/?id=8826934016d60d0a4a1e824e3f1cff814d915515,
but that is unfathomable UNO junk that returns only a float (why not return as
DateTime?) - and none of the date/time methods accept the float as an
initializer, so more plumbing is needed. Plus, none of that actually accepts
the format string that we already know from the field itself, which specifies
%YY.mm.dd, etc.
c.) I really don't want to write my own function to parse date/time based on
the field strings.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210414/adacd024/attachment.htm>


More information about the Libreoffice-bugs mailing list