mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-05 04:35:39 -07:00
Adding support for Tsubo, a Japanese unit of floorspace for Japan and Taiwan (#2101)
Some checks failed
Windows Calculator Continuous Integration Pipeline / Define builds (push) Has been cancelled
Windows Calculator Continuous Integration Pipeline / Build (push) Has been cancelled
Windows Calculator Continuous Integration Pipeline / Run unit tests (push) Has been cancelled
Windows Calculator Continuous Integration Pipeline / Run UI tests (x64) (push) Has been cancelled
Some checks failed
Windows Calculator Continuous Integration Pipeline / Define builds (push) Has been cancelled
Windows Calculator Continuous Integration Pipeline / Build (push) Has been cancelled
Windows Calculator Continuous Integration Pipeline / Run unit tests (push) Has been cancelled
Windows Calculator Continuous Integration Pipeline / Run UI tests (x64) (push) Has been cancelled
This commit is contained in:
parent
b9e4d33a7d
commit
06eb235d48
1 changed files with 3 additions and 3 deletions
|
@ -175,9 +175,9 @@ void UnitConverterDataLoader::GetUnits(_In_ unordered_map<ViewMode, vector<Order
|
|||
|
||||
bool useWattInsteadOfKilowatt = m_currentRegionCode == "GB";
|
||||
|
||||
// Use Pyeong, a Korean floorspace unit.
|
||||
// https://en.wikipedia.org/wiki/Korean_units_of_measurement#Area
|
||||
bool usePyeong = m_currentRegionCode == L"KP" || m_currentRegionCode == L"KR";
|
||||
// Use 坪(Tsubo), or Pyeong in Korean, a Japanese unit of floorspace.
|
||||
// https://en.wikipedia.org/wiki/Japanese_units_of_measurement#Area
|
||||
bool usePyeong = m_currentRegionCode == L"JP" || m_currentRegionCode == L"TW" || m_currentRegionCode == L"KP" || m_currentRegionCode == L"KR";
|
||||
|
||||
vector<OrderedUnit> areaUnits;
|
||||
areaUnits.push_back(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue