diff --git a/0001-Resolves-tdf-92767-use-ISO-8601-for-internal-date-st.patch b/0001-Resolves-tdf-92767-use-ISO-8601-for-internal-date-st.patch new file mode 100644 index 0000000..c16984a --- /dev/null +++ b/0001-Resolves-tdf-92767-use-ISO-8601-for-internal-date-st.patch @@ -0,0 +1,46 @@ +From 1770ed56fe8fc163ae4b1d5233bf383af46a2c5d Mon Sep 17 00:00:00 2001 +Message-Id: <1770ed56fe8fc163ae4b1d5233bf383af46a2c5d.1437151407.git.erack@redhat.com> +From: Eike Rathke +Date: Fri, 17 Jul 2015 18:14:27 +0200 +Subject: [PATCH] Resolves: tdf#92767 use ISO 8601 for internal date string + representation +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="------------erAck-patch-parts" + +This is a multi-part message in MIME format. +--------------erAck-patch-parts +Content-Type: text/plain; charset=UTF-8; format=fixed +Content-Transfer-Encoding: 8bit + + +Change-Id: I481bf3295feb64827de2122234a9300d0b8ced40 +(cherry picked from commit 3e17ed1fc2845da5a279d21ffa3ea51d637e515e) +--- + sc/source/core/data/column3.cxx | 4 ++++ + 1 file changed, 4 insertions(+) + + +--------------erAck-patch-parts +Content-Type: text/x-patch; name="0001-Resolves-tdf-92767-use-ISO-8601-for-internal-date-st.patch" +Content-Transfer-Encoding: 8bit +Content-Disposition: attachment; filename="0001-Resolves-tdf-92767-use-ISO-8601-for-internal-date-st.patch" + +diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx +index 90f9b65..3f0ebd4 100644 +--- a/sc/source/core/data/column3.cxx ++++ b/sc/source/core/data/column3.cxx +@@ -1965,6 +1965,10 @@ class FilterEntriesHandler + fVal = rtl::math::approxFloor(fVal); + mbHasDates = true; + bDate = true; ++ // Convert string representation to ISO 8601 date to eliminate ++ // locale dependent behaviour later when filtering for dates. ++ sal_uInt32 nIndex = pFormatter->GetFormatIndex( NF_DATE_DIN_YYYYMMDD); ++ pFormatter->GetInputLineString( fVal, nIndex, aStr); + } + // maybe extend ScTypedStrData enum is also an option here + mrStrings.push_back(ScTypedStrData(aStr, fVal, ScTypedStrData::Value,bDate)); + +--------------erAck-patch-parts-- + + diff --git a/libreoffice.spec b/libreoffice.spec index a6d49a4..b6a537d 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -53,7 +53,7 @@ Summary: Free Software Productivity Suite Name: libreoffice Epoch: 1 Version: %{libo_version}.2 -Release: 9%{?libo_prerelease}%{?dist} +Release: 10%{?libo_prerelease}%{?dist} License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0 Group: Applications/Productivity URL: http://www.libreoffice.org/ @@ -400,6 +400,7 @@ Patch90: 0001-always-justify-a-referenced-range-in-order-tdf-92468.patch Patch91: 0001-Resolves-tdf-84762-collect-all-recalc-always-cells-b.patch Patch92: 0001-ppc64-simplify-this-a-little.patch Patch93: 0002-ppc64-using-a-fp-register-also-consumes-a-gp-registe.patch +Patch94: 0001-Resolves-tdf-92767-use-ISO-8601-for-internal-date-st.patch %define instdir %{_libdir} %define baseinstdir %{instdir}/libreoffice @@ -2375,6 +2376,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || : %endif %changelog +* Fri Jul 17 2015 Eike Rathke - 1:4.3.7.2-10-UNBUILT +- Resolves: tdf#92767 use ISO 8601 for internal date string representation + * Sat Jul 11 2015 Eike Rathke - 1:4.3.7.2-9 - Resolves: rhbz#1146058 using a fp register also consumes a gp register slot - Resolves: tdf#31577 volatile lookup ranges must not be cached