On 30/11/11 12:10, Eike Rathke wrote:
Also fixed the misrepresentation of years<1000 with less than 4 digits
we did that? oops. i didn't know that...
in the file format and enabled reading dates with less than 4 digits in
... so thanks for fixing my importer to match the old broken exporter :)
the year, so reading the original testcase document produces the desired
result:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=7613359985a89a42417a746bcdbb25f072784733
+ // A leading ^+ is NOT invalid, ISO 8601 specifies this for explicit AD/CE.
for ODF the normative reference is W3C XMLSchema, and its lexical
representation does not allow +YYYY:
http://www.w3.org/TR/xmlschema-2/#date
but i don't object to adding that as an extension to the import, though
it makes it more difficult to detect if somebody breaks the export by
adding a '+' :)
Context
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.