Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hello,

I don't understand ...

What I need to change for kab_DZ ????

On Tue, Jan 17, 2012 at 11:09 AM, Niklas Johansson <
sleeping.pillow@gmail.com> wrote:

Hi

I'm currently looking in to the Swedish (sv-SE) date-patterns. I'm not
quite sure how to deal
with a few things. In Sweden the official standard for time is "H.MM" (or
"HH.MM").
It is also very common and accepted to use the international standard with
: as a
separator. It is so common that it actually got changed to this i
OpenOffice.org and
inherited into LibreOffice.

Is it possible to accept both . and : as separators?

Common dateformats that LibreOffice doesn't support for Swedish include:
D/M
D/M YYYY

EU-standard (not seen that often but since were in the EU and all EU
documents ,
use this format it would be a good thing to support):
D.M
D.M.YYYY

The SS-ISO 8601 standard YYYY-MM-DD is the most frequently used format and
the current standard for Swedish in LibreOffice. Is it possible to support
all
these formats?

When it comes to date acceptance I'd say that maybe D/M might be good to
accept
besides the ISO standard of course. I do not think that it is a good idea
to accept
the D.M though.

I did a quick test modifying the sv_SE.xml but got stuck building
afterwards.

I suppose my later questions all depend if there is any possibility to
support
multiple separators.

Thank you for any guidence
Niklas Johansson


Eike Rathke skrev 2012-01-12 14:43:

 Hi,

In order to get rid of the annoying "accept every input as date that
might resemble some date in almost any locale" behavior I recently
implemented locale dependent date acceptance patterns that need to be
matched for date input, for full details see
http://erack.org/blog/**archives/8-LibreOffice-date-**
acceptance-patterns.html<http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html>

If in your locale input of incomplete/abbreviated dates shall be
allowed, this will need a<DateAcceptancePattern>  element be added to
locale data, for example in en-US it's "M/D" and in de-DE it's "D.M."
(both already in).

Just mail me the pattern(s) for your locale, I'll add it then.

Thanks
  Eike


--
Unsubscribe instructions: E-mail to 
l10n+help@global.libreoffice.**org<l10n%2Bhelp@global.libreoffice.org>
Problems? http://www.libreoffice.org/**get-help/mailing-lists/how-to-**
unsubscribe/<http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/>
Posting guidelines + more: http://wiki.**documentfoundation.org/**
Netiquette <http://wiki.documentfoundation.org/Netiquette>
List archive: 
http://listarchives.**libreoffice.org/global/l10n/<http://listarchives.libreoffice.org/global/l10n/>
All messages sent to this list will be publicly archived and cannot be
deleted



-- 
Unsubscribe instructions: E-mail to l10n+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted

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.