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

--- Comment #1 from Gerhard Weydt <[email protected]> ---
I can confirm this on Windows 10 64 bit, LibO 5.1.3.3, with the exception of
fr-FR where the slashes are used in my instance (in accordance with my
hypothesis stated below: slash is the fisrt separator; in contrast to fr-CA
where the hyphen comes first).

A shorter way to show the effect is to execute simply

    msgbox Format(Now(),"mm/dd/yyyy")

But I'm not sure whether this is a bug or it is intional. My hypothesis, based
on incomplete tests, is that LibO replaces the slash by another separator if a
different one is to be found in the first date acceptance pattern for the
locale used (it seems to be depending only of the first separator in the format
parameter, by the way). Perhaps the slash is regarded as the standard
separator, and is only replaced if there is another principal separator for the
locale setting.
As the documentation is not detailed enough, one can only be sure by looking at
the code, which I cannot.

As far as I know, date acceptance patterns are entered into the code of Lobo,
so it's no wonder you could not change them.

As the problem can be easily overcome by using the backslash, as you found out
by yourself, I would propose that you set the importance to "minor".

Gerhard

-- 
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