mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Merge pull request #601 from doomlaur/bugfix/system_default_date_time
Added support for the System Default locale for the Time and Long Date types
This commit is contained in:
commit
69f651e3a1
|
@ -466,6 +466,8 @@ const std::unordered_map<int, std::string> known_locales()
|
||||||
{0x7C68, "Hausa (Latin)"},
|
{0x7C68, "Hausa (Latin)"},
|
||||||
{0x7C86, "K’iche’"},
|
{0x7C86, "K’iche’"},
|
||||||
{0x7C92, "Central Kurdish (Arabic)"},
|
{0x7C92, "Central Kurdish (Arabic)"},
|
||||||
|
{0xF400, "System Default for Time"},
|
||||||
|
{0xF800, "System Default for Long Date"},
|
||||||
});
|
});
|
||||||
|
|
||||||
return all;
|
return all;
|
||||||
|
|
|
@ -530,7 +530,9 @@ enum class format_locale
|
||||||
tamazight_latin = 0x7C5F,
|
tamazight_latin = 0x7C5F,
|
||||||
fulah_latin = 0x7C67,
|
fulah_latin = 0x7C67,
|
||||||
hausa_latin = 0x7C68,
|
hausa_latin = 0x7C68,
|
||||||
central_kurdish_arabic = 0x7C92
|
central_kurdish_arabic = 0x7C92,
|
||||||
|
system_default_time = 0xF400,
|
||||||
|
system_default_long_date = 0xF800
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO this really shouldn't be exported...
|
// TODO this really shouldn't be exported...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user