diff options
author | Eike Rathke <erack@redhat.com> | 2021-07-06 14:05:58 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-07-06 17:54:07 +0200 |
commit | 5e3bfdeb5ea4878a2546a7e1e16d0f3b6482024e (patch) | |
tree | 3271241e0a9fbe3566a0c9d2484e57e3a40fe68d /svl | |
parent | 544e279f981afee23e3c02d62adb2c377ef6700f (diff) |
Related: tdf#125035 Introduce LongDateOrder and handle YDM in DateFormatter
This fixes also
unotools/source/i18n/localedatawrapper.cxx:1473: LocaleDataWrapper::scanDateOrder: no magic applicable
lv-LV requested
lv-LV loaded
that is the only locale with a YDM long date order.
Change-Id: I776b8706bf5bd3ec11cc46d38fd3613c8df7519f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118482
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zforfind.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index 4f5fd03ce6be..8b01debbb1d4 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -2728,7 +2728,7 @@ bool ImpSvNumberInputScan::ScanMidString( const OUString& rString, sal_uInt16 nS switch (eScannedType) { case SvNumFormatType::DATE: - if (nMonthPos == 1 && pLoc->getLongDateOrder() == DateOrder::MDY) + if (nMonthPos == 1 && pLoc->getLongDateOrder() == LongDateOrder::MDY) { // #68232# recognize long date separators like ", " in "September 5, 1999" if (SkipString( pLoc->getLongDateDaySep(), rString, nPos )) |