From Eike Rathke <erack@redhat.com>:
Eike Rathke has uploaded a new change for review.
Change subject: resolved fdo#52240 fdo#52137 fdo#52288 user editable date patterns
......................................................................
resolved fdo#52240 fdo#52137 fdo#52288 user editable date patterns
Implemented user editable date acceptance patterns.
The introduction of strict date parsing using locale dependent date
acceptance patterns in 3.6.0 wasn't always welcomed. Besides that not
every locale had patterns for incomplete (only day and month) date
input, users also complained about not being able to key in dates on
numeric keypads if the locale's date separator wasn't '/' or '-'
This commit implements a "Date acceptance patterns" edit field under
Tools->Options->LanguageSettings->Languages that follows the selected
locale and enables the user to add patterns.
Example de-DE locale:
* default patterns: D.M.Y;D.M.
* to enable additional input on numeric keypad: D.M.Y;D.M.;D-M-Y;D-M
* if 3-4 shall not result in a date, D-M- could be used instead of D-M
* note that to enter an ISO 8601 Y-M-D date with a D-M-Y pattern
active one needs to enter a year >31 or with at least 3 digits, e.g.
011
(cherry picked from commit bf10f4d62a5fe308ea47f9a0aac4f6f7e264ae3e)
Conflicts:
cui/source/options/optgdlg.hrc
svl/source/numbers/zforfind.cxx
unotools/source/config/syslocaleoptions.cxx
Change-Id: Ic1ce91b1f9d29f1837d56b45ba0ae16f6d9cb17c
---
M cui/source/options/optgdlg.cxx
M cui/source/options/optgdlg.hrc
M cui/source/options/optgdlg.hxx
M cui/source/options/optgdlg.src
M officecfg/registry/schema/org/openoffice/Setup.xcs
M svl/inc/svl/zforlist.hxx
M svl/source/numbers/zforfind.cxx
M svl/source/numbers/zforfind.hxx
M svl/source/numbers/zforlist.cxx
M unotools/inc/unotools/localedatawrapper.hxx
M unotools/inc/unotools/syslocaleoptions.hxx
M unotools/source/config/syslocaleoptions.cxx
M unotools/source/i18n/localedatawrapper.cxx
M unotools/source/misc/syslocale.cxx
14 files changed, 429 insertions(+), 46 deletions(-)
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/11/511/1
--
To view, visit https://gerrit.libreoffice.org/511
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic1ce91b1f9d29f1837d56b45ba0ae16f6d9cb17c
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-3-6
Gerrit-Owner: Eike Rathke <erack@redhat.com>
Context
- [PATCH] Change in core[libreoffice-3-6]: resolved fdo#52240 fdo#52137 fdo#52288 user editable date pa... · Gerrit
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.