Andreas Gullberg Larsen

Results 322 comments of Andreas Gullberg Larsen

If you are interested in attempting a pull request to add this functionality, I'm happy to assist. Let me know. I don't think it will happen otherwise, I have very...

Yes I'm thinking the same for Q/U. Remove it. You don't obtain "Seconds" from TimeSpan.ToString() either. It's an odd thing to do and unit/quantity name is available elsewhere. Regarding P...

> Regarding P, or any other default format string that's invalid _for us_. Should we just blindly allow strings of out say `15.3% m`, or throw a `FormatException`? I'm leaning...

@lipchev It's been ages, but isn't this more or less ready to go? ~~Still need to remove QUV?~~ (already removed) Can you update the PR description with a summary of...

You are probably better off having a non-UnitsNet type for serializing/deserializing, then mapping to UnitsNet after deserializing. Most serializers support some form of plugins to add converters from/to specific types,...

I'll need some time to get around to this. It seems like a bug, that maybe custom conversion functions don't always have precedence over the built-in ones? Not sure, but...

Localization of unit names and quantity names is not yet supported. Feature discussed here: https://github.com/angularsen/UnitsNet/issues/397 If you are interested in attempting a pull request, I'm happy to assist.

> For example, "cm" should appear as "cm" in any language I don't know what is correct in Chinese, but at least for Russian it seems the correct behavior is...

Thanks for the additional sources. I think you are correct, but I've asked for comments from the PR author in #867 to chime in here just to be extra sure.