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

--- Comment #6 from Eike Rathke <[email protected]> ---
Interesting.. ;-)

I don't know yet why but what seems to happen.. the document's user field for
the date for example is

  <text:user-field-decl office:value-type="float"
office:value="43360.6375231481" text:name="WW.Timestamp.Protocol.Close"/>

which added to the null-date and displayed as en-US date+time yields the
expected 15:18 09/17/2018

Once the locale was switched and F9 recalculated yielding in 00:00 12/20/-3741
saving the document shows

  <text:user-field-decl office:value-type="float"
office:value="433606375231481" text:name="WW.Timestamp.Protocol.Close"/>

that value apparently has the decimal separator removed, which results in a
large value that for date calculation causes some component's integer field to
wrap around resulting in a negative year.

My guess is that Writer at some point tries to interpret the floating point
value as string instead in a German context, in which the '.' dot is a group
(aka thousands) separator, which is ignored.

Same for the other user-field-decl that have floating point values and
recalculation effectively strips the decimal separator yielding a large integer
value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to