From 211cbca48cc3d2c912663224c650f4ee3431f7e5 Mon Sep 17 00:00:00 2001 From: Aron Budea Date: Wed, 14 Jan 2026 21:49:45 +1030 Subject: [PATCH] tdf#170325 update default TwoDigitYear to 1950 2030 is almost here, so start of range still interpeted as 1900s should be pushed back. Change-Id: I76d7171a9947860d8353241aae1f2a97e9da5c69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197261 Tested-by: Jenkins Reviewed-by: Aron Budea --- officecfg/registry/schema/org/openoffice/Office/Common.xcs | 2 +- svl/qa/unit/svl.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index ba4964e28dcf..f9857f2fc550 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -3618,7 +3618,7 @@ two-digit-year date formats. - 1930 + 1950 diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 9afc57d1799d..0ea8c093af66 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1239,7 +1239,7 @@ void Test::testIsNumberFormatSpecific() std::vector aIO = { { "005-12-14", true, "0005-12-14", 0 }, { "5-12-14", true, "2005-12-14", 0 }, - { "32-12-14", true, "1932-12-14", 0 } + { "52-12-14", true, "1952-12-14", 0 } }; checkSpecificNumberFormats( aFormatter, aIO, "[en-US] date"); @@ -1253,7 +1253,7 @@ void Test::testIsNumberFormatSpecific() std::vector aIO = { { "005-12-14", true, "0005-12-14", 0 }, { "5-12-14", true, "2005-12-14", 0 }, - { "32-12-14", true, "1932-12-14", 0 } + { "52-12-14", true, "1952-12-14", 0 } }; checkSpecificNumberFormats( aFormatter, aIO, "[de-DE] date");