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


Hi Niklas,

On Friday, 2012-01-20 17:01:24 +0100, Niklas Johansson wrote:

When looking closer at the date- and time-formats for sv_SE I find a
lot of duplicates of YYYY-MM-DD
and YY-MM-DD. There are a few lets say  questionable formats there
as well. When it comes to time-
formats. I really hope we at least can have HH.MM and MM.SS

As said, there can be only one TimeSeparator that is recognized by the
input scanner, which currently is ':', you may change that to '.' and
need to adapt at least the format codes that are used to edit existing
values, see current locale.dtd for details.

If you don't want to change the TimeSeparator you can still add HH.MM or
MM.SS formats to the already existing (use formatindex above 50 for
that), but those wouldn't be used to edit times, which may confuse
users.

Is it possible not to turn inputs on format MM.DD into dates in
Calc.

If there is no M.D DateAcceptancePattern defined then such input will
not yield a date. This was the main point of the change :)

It is much more likely that it is
supposed to be a time value HH.MM?

Would be recognized as time only if the TimeSeparator would be '.'
instead of ':'

MM-DD is good to have accepted though. Not really sure if it's
possible.

With DateAcceptancePattern M-D yes.

I will have a closer look at the current formats and discuss them
locally. But that might take some
time so. I appended a few formats to the sv_SE.xml do you want a
patch, or how should i proceed?

Yes, a patch diff would be appreciated.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

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