Apache OpenOffice (AOO) Bugzilla – Issue 77186
Date auto-recognition with French (Switzerland) setting
Last modified: 2013-02-07 22:05:19 UTC
Problem raised here : http://www.oooforum.org/forum/viewtopic.phtml?t=55767 When the Tools>Options>Language Settings>Language>Locale setting is set to French (Switzerland), here is what happens : - Type a text with the "##/##.." formatting and it is recognized as a date. Example: "1/1234.." -> "01.01.1234" No problem with other locale setting. With French (France) setting for example, the string is considered as text and not as date, even if periods (decimal separator for Switzerland) are replaced by commas (decimal separator for France).
Hi, could you please give us the output of the locale command on a shell ? Thanks Frank
Here it is : LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL=
Confirmed under Kubuntu 6.06. FR If we add two points after 1/1234 ("1/1234.." then OOo should keep this input as text. It is the behaviour with French (France) settings but not with French (Switzerland). May be because the dot is a date separator for Switzerland.
Additionnal comment : it is the same behaviour for DE-CH than for FR-CH.