mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
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:
parent
3a279fcaab
commit
147307c90b
|
@ -466,6 +466,8 @@ const std::unordered_map<int, std::string> known_locales()
|
|||
{0x7C68, "Hausa (Latin)"},
|
||||
{0x7C86, "K’iche’"},
|
||||
{0x7C92, "Central Kurdish (Arabic)"},
|
||||
{0xF400, "System Default for Time"},
|
||||
{0xF800, "System Default for Long Date"},
|
||||
});
|
||||
|
||||
return all;
|
||||
|
|
Loading…
Reference in New Issue
Block a user