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 <aron.budea@collabora.com>
This commit is contained in:
Aron Budea
2026-01-14 19:29:44 +01:00
parent c1f7ea0db1
commit 211cbca48c
2 changed files with 3 additions and 3 deletions
@@ -3618,7 +3618,7 @@
two-digit-year date formats.</desc>
<label>First two-digit year</label>
</info>
<value>1930</value>
<value>1950</value>
</prop>
</group>
<group oor:name="Filter">
+2 -2
View File
@@ -1239,7 +1239,7 @@ void Test::testIsNumberFormatSpecific()
std::vector<FormatInputOutput> 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<FormatInputOutput> 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");