Skip to content

Commit 224d649

Browse files
authored
Fix wrong SolarMass abbreviation (#1125)
* Fix wrong solarMass abbreviation * Added old abbreviation of solar mass as fallback for Deserialization * Generated code with correct solar mass abbr
1 parent 77b1ef2 commit 224d649

File tree

4 files changed

+29
-5
lines changed

4 files changed

+29
-5
lines changed

Common/UnitDefinitions/Mass.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
"Localization": [
249249
{
250250
"Culture": "en-US",
251-
"Abbreviations": [ "M⊙" ]
251+
"Abbreviations": [ "M", "M" ]
252252
}
253253
]
254254
},

UnitsNet.Tests/GeneratedCode/TestsBase/MassTestsBase.g.cs

+26-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/Mass.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet/GeneratedCode/Quantities/Mass.g.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)