[Libreoffice-bugs] [Bug 143979] FORMATTING: Date format is mangled when file is closed and reopened
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 20 21:40:18 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=143979
Eike Rathke <erack at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|Mac OS X (All) |All
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Hardware|x86-64 (AMD64) |All
Version|7.1.4.2 release |Inherited From OOo
--- Comment #1 from Eike Rathke <erack at redhat.com> ---
Seems the empty string is eliminated while saving the format description and
that ends up as
<number:month number:style="long"/>
<number:month number:textual="true"/>
i.e. two consecutive month elements for MM and MMM which when read in correctly
form MMMMM.
Workaround: use U+200B ZERO WIDTH SPACE, ZWSP in your quotes.
This looks the same
YYYY-MM""MMM-DDNN
but if you copy-paste it and travel through with the cursor you'll notice one
extra character where the cursor does not move.
that is saved and preserved when loaded:
<number:month number:style="long"/>
<number:text><200b></number:text>
<number:month number:textual="true"/>
--
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/20210820/22c08363/attachment.htm>
More information about the Libreoffice-bugs
mailing list