Added support for the System Default locale for the Time and Long Date types in Excel, as explained here: https://bz.apache.org/ooo/show_bug.cgi?id=70003

This fixes issues with some locales where "system default" is the default setting for times and dates. This happens, for example, when using German (Austria) as a locale in Windows, or when setting it manually in Excel.
This commit is contained in:
Laurențiu Leahu-Vlăducu 2021-12-01 19:31:14 +01:00
parent 3a279fcaab
commit 147307c90b
No known key found for this signature in database
GPG Key ID: B4B638CBEFDFC921

View File

@ -466,6 +466,8 @@ const std::unordered_map<int, std::string> known_locales()
{0x7C68, "Hausa (Latin)"},
{0x7C86, "Kiche"},
{0x7C92, "Central Kurdish (Arabic)"},
{0xF400, "System Default for Time"},
{0xF800, "System Default for Long Date"},
});
return all;