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:
@@ -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
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user